#CB5EE8#CB5EE8

#CB5EE8 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.217 H 318.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CB5EE8
RGBrgb(203, 94, 232)
HSLhsl(287, 75%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.5%, 59.5%, 0%, 9%)
CIE-LABlab(58.54, 63.14, -51.34)
CIE-LCHlch(58.54, 81.37, 320.89°)
OKLaboklab(66.95% 0.163 -0.1433)
OKLCHoklch(66.95% 0.217 318.7)
XYZxyz(43.1949, 26.5299, 79.1738)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EE8 #7BE85E
analogous
#865EE8 #CB5EE8 #E85EC0
triadic
#CB5EE8 #E8CB5E #5EE8CB
tetradic
#CB5EE8 #E8865E #7BE85E #5EC0E8
square
#CB5EE8 #E8865E #7BE85E #5EC0E8
split-complementary
#CB5EE8 #C0E85E #5EE886
monochromatic
#9219B2 #BA28E0 #CB5EE8 #DC94F0 #EEC9F7

Accessibility & contrast

On white

3.33
#CB5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CB5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EE8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EE8#FFFFFF#000000##000000
##CB5EE81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5ee8;
/* rgb */ color: rgb(203, 94, 232);
/* oklch */ color: oklch(67.0% 0.217 318.7);
Tailwind
colors: {
  custom: {
    50: '#de91f0',
    500: '#cb5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ee8;
$custom-light: #de91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ee8",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 287.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66952,
    "c": 0.21701,
    "h": 318.7
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#CB5EE8
secondary
#C3E9B9
accent
#D70E39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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