#CB5DE2#CB5DE2

#CB5DE2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.5% C 0.213 H 320.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CB5DE2
RGBrgb(203, 93, 226)
HSLhsl(290, 70%, 63%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(10.2%, 58.8%, 0%, 11.4%)
CIE-LABlab(58.05, 62.45, -48.74)
CIE-LCHlch(58.05, 79.22, 322.03°)
OKLaboklab(66.5% 0.164 -0.1357)
OKLCHoklch(66.5% 0.213 320.4)
XYZxyz(42.2688, 26.0181, 74.7323)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE2 #74E25D
analogous
#885DE2 #CB5DE2 #E25DB7
triadic
#CB5DE2 #E2CB5D #5DE2CB
tetradic
#CB5DE2 #E2885D #74E25D #5DB7E2
square
#CB5DE2 #E2885D #74E25D #5DB7E2
split-complementary
#CB5DE2 #B7E25D #5DE288
monochromatic
#8F1EA7 #BA29D9 #CB5DE2 #DC91EB #ECC5F5

Accessibility & contrast

On white

3.39
#CB5DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CB5DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE2#FFFFFF#000000##000000
##CB5DE21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#CC7297
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5de2;
/* rgb */ color: rgb(203, 93, 226);
/* oklch */ color: oklch(66.5% 0.213 320.4);
Tailwind
colors: {
  custom: {
    50: '#de91eb',
    500: '#cb5de2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de2;
$custom-light: #de91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de2",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 289.624,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66498,
    "c": 0.21285,
    "h": 320.4
  },
  "luminance": 0.26016
}

Semantic roles & 50–950 ramp

primary
#CB5DE2
secondary
#BEE6B5
accent
#D21435
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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