#CB5DEF#CB5DEF

#CB5DEF is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.225 H 316.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CB5DEF
RGBrgb(203, 93, 239)
HSLhsl(285, 82%, 65%)
HSVhsv(285, 61%, 94%)
CMYKcmyk(15.1%, 61.1%, 0%, 6.3%)
CIE-LABlab(58.75, 64.94, -54.90)
CIE-LCHlch(58.75, 85.04, 319.79°)
OKLaboklab(67.23% 0.1643 -0.1537)
OKLCHoklch(67.23% 0.225 316.9)
XYZxyz(44.1207, 26.7589, 84.4855)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DEF #81EF5D
analogous
#825DEF #CB5DEF #EF5DCA
triadic
#CB5DEF #EFCB5D #5DEFCB
tetradic
#CB5DEF #EF825D #81EF5D #5DCAEF
square
#CB5DEF #EF825D #81EF5D #5DCAEF
split-complementary
#CB5DEF #CAEF5D #5DEF82
monochromatic
#9413BF #B925E9 #CB5DEF #DD95F5 #EFCCFA

Accessibility & contrast

On white

3.31
#CB5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CB5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DEF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DEF#FFFFFF#000000##000000
##CB5DEF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#C9769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5def;
/* rgb */ color: rgb(203, 93, 239);
/* oklch */ color: oklch(67.2% 0.225 316.9);
Tailwind
colors: {
  custom: {
    50: '#de91f5',
    500: '#cb5def',
    950: '#000000',
  },
}
SCSS
$custom: #cb5def;
$custom-light: #de91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5def",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 285.205,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67229,
    "c": 0.22498,
    "h": 316.9
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#CB5DEF
secondary
#C7EDBB
accent
#DE073C
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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