#CB5EE7#CB5EE7

#CB5EE7 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.216 H 319.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5EE7
RGBrgb(203, 94, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(12.1%, 59.3%, 0%, 9.4%)
CIE-LABlab(58.48, 62.95, -50.86)
CIE-LCHlch(58.48, 80.93, 321.06°)
OKLaboklab(66.9% 0.163 -0.1419)
OKLCHoklch(66.9% 0.216 319)
XYZxyz(43.0532, 26.4733, 78.4278)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EE7 #7AE75E
analogous
#865EE7 #CB5EE7 #E75EBE
triadic
#CB5EE7 #E7CB5E #5EE7CB
tetradic
#CB5EE7 #E7865E #7AE75E #5EBEE7
square
#CB5EE7 #E7865E #7AE75E #5EBEE7
split-complementary
#CB5EE7 #BEE75E #5EE786
monochromatic
#921AB0 #BA29DF #CB5EE7 #DC93EF #EDC9F7

Accessibility & contrast

On white

3.34
#CB5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CB5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EE7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EE7#FFFFFF#000000##000000
##CB5EE71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#CB749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5ee7;
/* rgb */ color: rgb(203, 94, 231);
/* oklch */ color: oklch(66.9% 0.216 319.0);
Tailwind
colors: {
  custom: {
    50: '#de91ef',
    500: '#cb5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ee7;
$custom-light: #de91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ee7",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 287.737,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.21608,
    "h": 319
  },
  "luminance": 0.26471
}

Semantic roles & 50–950 ramp

primary
#CB5EE7
secondary
#C2E9B8
accent
#D60F38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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