#CB2DEE#CB2DEE

#CB2DEE is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.9% C 0.276 H 319.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB2DEE
RGBrgb(203, 45, 238)
HSLhsl(289, 85%, 55%)
HSVhsv(289, 81%, 93%)
CMYKcmyk(14.7%, 81.1%, 0%, 6.7%)
CIE-LABlab(52.67, 81.78, -64.09)
CIE-LCHlch(52.67, 103.90, 321.91°)
OKLaboklab(62.87% 0.2088 -0.1803)
OKLCHoklch(62.87% 0.276 319.2)
XYZxyz(40.9976, 20.7484, 82.7177)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2DEE #50EE2D
analogous
#6A2DEE #CB2DEE #EE2DB1
triadic
#CB2DEE #EECB2D #2DEECB
tetradic
#CB2DEE #EE6A2D #50EE2D #2DB1EE
square
#CB2DEE #EE6A2D #50EE2D #2DB1EE
split-complementary
#CB2DEE #B1EE2D #2DEE6A
monochromatic
#7C0C95 #AB11CD #CB2DEE #D966F3 #E79EF7

Accessibility & contrast

On white

4.08
#CB2DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB2DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB2DEE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2DEE#FFFFFF#000000##000000
##CB2DEE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#3D83EA
Tritanopia (blue-blind)
#CB5B90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb2dee;
/* rgb */ color: rgb(203, 45, 238);
/* oklch */ color: oklch(62.9% 0.276 319.2);
Tailwind
colors: {
  custom: {
    50: '#e07bf4',
    500: '#cb2dee',
    950: '#000000',
  },
}
SCSS
$custom: #cb2dee;
$custom-light: #e07bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2dee",
  "rgb": {
    "r": 203,
    "g": 45,
    "b": 238
  },
  "hsl": {
    "h": 289.119,
    "s": 85.022,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.27587,
    "h": 319.2
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#CB2DEE
secondary
#A2E493
accent
#FB2D52
background
#FEF8FF
surface
#FDEFFE
border
#D5CAD6
text
#160B17
muted
#847C85

Preview Lab

Preview with #CB2DEE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB2DEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva