#CB5ED8#CB5ED8

#CB5ED8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.1% C 0.202 H 323.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CB5ED8
RGBrgb(203, 94, 216)
HSLhsl(294, 61%, 61%)
HSVhsv(294, 56%, 85%)
CMYKcmyk(6%, 56.5%, 0%, 15.3%)
CIE-LABlab(57.71, 60.13, -43.65)
CIE-LCHlch(57.71, 74.30, 324.03°)
OKLaboklab(66.09% 0.1621 -0.1209)
OKLCHoklch(66.09% 0.202 323.3)
XYZxyz(41.0248, 25.6619, 67.7448)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ED8 #6BD85E
analogous
#8E5ED8 #CB5ED8 #D85EA8
triadic
#CB5ED8 #D8CB5E #5ED8CB
tetradic
#CB5ED8 #D88E5E #6BD85E #5EA8D8
square
#CB5ED8 #D88E5E #6BD85E #5EA8D8
split-complementary
#CB5ED8 #A8D85E #5ED88E
monochromatic
#8B2597 #B831C8 #CB5ED8 #DB8FE4 #EBC1F0

Accessibility & contrast

On white

3.42
#CB5ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CB5ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ED8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ED8#FFFFFF#000000##000000
##CB5ED81.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DC
Deuteranopia (green-blind)
#6F8FD5
Tritanopia (blue-blind)
#CE6F92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5ed8;
/* rgb */ color: rgb(203, 94, 216);
/* oklch */ color: oklch(66.1% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#de91e4',
    500: '#cb5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ed8;
$custom-light: #de91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ed8",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 293.607,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66086,
    "c": 0.20224,
    "h": 323.3
  },
  "luminance": 0.2566
}

Semantic roles & 50–950 ramp

primary
#CB5ED8
secondary
#B7E0B2
accent
#C91D2F
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CB5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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