Skip to content

#cb1eee

a balanced, electric violet · neutral · closest name: Medium Orchid

RGB
203, 30, 238
HSL
290°, 86%, 53%
CMYK
15, 87, 0, 7
Luminance
0.1980

At a glance

Every number on this page in one read: what #cb1eee is made of, how bright it looks, and which way it leans.

Hex
#cb1eee
Hue
290°
violet
Saturation
86%
electric
Lightness
53%
balanced
Brightness
93%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1980
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.96:1
Closest name
Medium Orchid
ΔE2000 6.5
Where it sits
Hue290° of 360°
Saturation86%
Lightness53%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cb1eee
RGBrgb(203, 30, 238)
HSLhsl(290, 86%, 53%)
CMYKcmyk(15%, 87%, 0%, 7%)
LABlab(51.6 84.9 -65.8)
LCHlch(51.6 107.4 322.2)
OKLCHoklch(0.621 0.285 319.5)
Decimal13311726
Display P3color(display-p3 0.796 0.118 0.933)

Copy-ready code

/* CSS */
color: #cb1eee;
background-color: #cb1eee;
/* Tailwind (arbitrary) */
class="text-[#cb1eee] bg-[#cb1eee]"
/* SCSS */
$brand: #cb1eee;
/* SwiftUI */
Color(red: 0.796, green: 0.118, blue: 0.933)
/* Android */
Color.parseColor("#cb1eee")
/* Flutter */
Color(0xFFCB1EEE)
/* Python / OpenCV (BGR) */
(238, 30, 203)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cb1eee · 4.96:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.23:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.96:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cb1eee as text scores 4.23:1 on white and 4.96:1 on black.

Accessibility — WCAG contrast

Aa
#cb1eee on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#cb1eee on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070F3
deuteranopia · #3580EA
tritanopia · #CB558E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb1eee is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF2FD
#F7E5FA
#EFC5F7
#E797F7
#DB62F3
#cb1eee
#C011E4
#A00EBE
#800B98
#5D0D6E
#3A0845
Base = 500Lightest = 50 · #FBF2FDDarkest = 950 · #3A0845
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E5FA;
  --brand-200: #EFC5F7;
  --brand-300: #E797F7;
  --brand-400: #DB62F3;
  --brand-500: #cb1eee;
  --brand-600: #C011E4;
  --brand-700: #A00EBE;
  --brand-800: #800B98;
  --brand-900: #5D0D6E;
  --brand-950: #3A0845;
  --brand: #cb1eee;
  --brand-ink: #000000;
}

Colors that work with #cb1eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#57C20A
Second voice, not a rival
Dark variant#640977
Hover, pressed, headers
Light variant#FAE7FD
Selected rows, tints
Dark surface#221424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cb1eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#41EE1E
Analogous left#631EEE
Analogous right#EE1EA9
Split-complement 1#A9EE1E
Split-complement 2#1EEE63
Triadic 1#EECB1E
Triadic 2#1EEECB
Tetradic#EE631E

RGB percentages

Red79.6%
Green11.8%
Blue93.3%

CMYK percentages

Cyan14.7%
Magenta87.4%
Yellow0.0%
Key (black)6.7%

Color previews

#cb1eee text on a black background

contrast 4.96:1

Card sample

#cb1eee text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cb1eee;
Background color
Panel with #cb1eee background
background-color: #cb1eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cb1eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 30, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 30, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb1eee;
background: linear-gradient(135deg, #cb1eee, #EE1E86);

Monochromatic scale

Palettes built from #cb1eee

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cb1eee in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cb1eee, answered

What color is #cb1eee?

#cb1eee is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.5). It sits at 290° on the hue wheel with 86% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #cb1eee?

rgb(203, 30, 238) — 203 red, 30 green and 238 blue out of 255, or 79.6% / 11.8% / 93.3% by channel.

Is #cb1eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.1980 and perceived brightness is 54%, so black text on it reaches 4.96:1.

Should I use black or white text on #cb1eee?

Black. It scores 4.96:1 against #cb1eee, versus 4.23:1 for white — AA at any size.

What is the complementary color of #cb1eee?

#41EE1E sits directly opposite on the wheel. Softer options are the split-complements #A9EE1E and #1EEE63, which give the same contrast with far less vibration.

What colors go well with #cb1eee?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #57C20A as an accent and #640977 for hover and pressed states. For a palette, the analogous pair #631EEE and #EE1EA9 stays calm, while #41EE1E is the loudest partner.

What is #cb1eee in CMYK for printing?

cmyk(15%, 87%, 0%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cb1eee warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EE1EC5; nudged cooler, #7E1BF0.

Work with #cb1eee in the Color Lab