#CB91DB#CB91DB

#CB91DB is a light, vivid purple. Relative luminance 0.381; OKLCH L 73.8% C 0.121 H 318.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CB91DB
RGBrgb(203, 145, 219)
HSLhsl(287, 51%, 71%)
HSVhsv(287, 34%, 86%)
CMYKcmyk(7.3%, 33.8%, 0%, 14.1%)
CIE-LABlab(68.07, 34.53, -29.18)
CIE-LCHlch(68.07, 45.21, 319.81°)
OKLaboklab(73.85% 0.0912 -0.0798)
OKLCHoklch(73.85% 0.121 318.8)
XYZxyz(47.5384, 38.0630, 71.8468)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91DB #A1DB91
analogous
#A691DB #CB91DB #DB91C6
triadic
#CB91DB #DBCB91 #91DBCB
tetradic
#CB91DB #DBA691 #A1DB91 #91C6DB
square
#CB91DB #DBA691 #A1DB91 #91C6DB
split-complementary
#CB91DB #C6DB91 #91DBA6
monochromatic
#9C3CB6 #B563CC #CB91DB #E1BFEA #F4E8F7

Accessibility & contrast

On white

2.44
#CB91DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CB91DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91DB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91DB#FFFFFF#000000##000000
##CB91DB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#CC9AAC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb91db;
/* rgb */ color: rgb(203, 145, 219);
/* oklch */ color: oklch(73.8% 0.121 318.8);
Tailwind
colors: {
  custom: {
    50: '#dcb2e6',
    500: '#cb91db',
    950: '#000000',
  },
}
SCSS
$custom: #cb91db;
$custom-light: #dcb2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91db",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 287.027,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.12116,
    "h": 318.8
  },
  "luminance": 0.38062
}

Semantic roles & 50–950 ramp

primary
#CB91DB
secondary
#DEEEDA
accent
#BE2748
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB91DB

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

Preview Lab → · Contrast checker → · Palette generator →

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