#CB5DF1#CB5DF1

#CB5DF1 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.227 H 316.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CB5DF1
RGBrgb(203, 93, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(15.8%, 61.4%, 0%, 5.5%)
CIE-LABlab(58.86, 65.33, -55.84)
CIE-LCHlch(58.86, 85.94, 319.48°)
OKLaboklab(67.35% 0.1643 -0.1564)
OKLCHoklch(67.35% 0.227 316.4)
XYZxyz(44.4177, 26.8777, 86.0502)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DF1 #83F15D
analogous
#815DF1 #CB5DF1 #F15DCD
triadic
#CB5DF1 #F1CB5D #5DF1CB
tetradic
#CB5DF1 #F1815D #83F15D #5DCDF1
square
#CB5DF1 #F1815D #83F15D #5DCDF1
split-complementary
#CB5DF1 #CDF15D #5DF181
monochromatic
#9511C3 #B925EC #CB5DF1 #DD95F6 #EFCEFB

Accessibility & contrast

On white

3.29
#CB5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CB5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DF1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DF1#FFFFFF#000000##000000
##CB5DF11.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#C9779F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5df1;
/* rgb */ color: rgb(203, 93, 241);
/* oklch */ color: oklch(67.3% 0.227 316.4);
Tailwind
colors: {
  custom: {
    50: '#de91f6',
    500: '#cb5df1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5df1;
$custom-light: #de91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5df1",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 284.595,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.22687,
    "h": 316.4
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#CB5DF1
secondary
#C9EEBC
accent
#E1053D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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