#CB5CE2#CB5CE2

#CB5CE2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.214 H 320.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CB5CE2
RGBrgb(203, 92, 226)
HSLhsl(290, 70%, 62%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(10.2%, 59.3%, 0%, 11.4%)
CIE-LABlab(57.89, 62.90, -49.00)
CIE-LCHlch(57.89, 79.74, 322.08°)
OKLaboklab(66.38% 0.1652 -0.1365)
OKLCHoklch(66.38% 0.214 320.4)
XYZxyz(42.1816, 25.8437, 74.7032)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CE2 #73E25C
analogous
#885CE2 #CB5CE2 #E25CB6
triadic
#CB5CE2 #E2CB5C #5CE2CB
tetradic
#CB5CE2 #E2885C #73E25C #5CB6E2
square
#CB5CE2 #E2885C #73E25C #5CB6E2
split-complementary
#CB5CE2 #B6E25C #5CE288
monochromatic
#8F1EA6 #BA28D9 #CB5CE2 #DC90EB #ECC4F4

Accessibility & contrast

On white

3.40
#CB5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CB5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CE2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CE2#FFFFFF#000000##000000
##CB5CE21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#CC7197
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5ce2;
/* rgb */ color: rgb(203, 92, 226);
/* oklch */ color: oklch(66.4% 0.214 320.4);
Tailwind
colors: {
  custom: {
    50: '#de90eb',
    500: '#cb5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ce2;
$custom-light: #de90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ce2",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 289.701,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.21428,
    "h": 320.4
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#CB5CE2
secondary
#BDE5B4
accent
#D21434
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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