#CB91DF#CB91DF

#CB91DF is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.0% C 0.126 H 317.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CB91DF
RGBrgb(203, 145, 223)
HSLhsl(285, 55%, 72%)
HSVhsv(285, 35%, 87%)
CMYKcmyk(9%, 35%, 0%, 12.5%)
CIE-LABlab(68.22, 35.34, -31.14)
CIE-LCHlch(68.22, 47.10, 318.61°)
OKLaboklab(74.02% 0.0922 -0.0854)
OKLCHoklch(74.02% 0.126 317.2)
XYZxyz(48.0714, 38.2762, 74.6535)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91DF #A5DF91
analogous
#A491DF #CB91DF #DF91CC
triadic
#CB91DF #DFCB91 #91DFCB
tetradic
#CB91DF #DFA491 #A5DF91 #91CCDF
square
#CB91DF #DFA491 #A5DF91 #91CCDF
split-complementary
#CB91DF #CCDF91 #91DFA4
monochromatic
#9C37BE #B562D1 #CB91DF #E1C0ED #F4E7F8

Accessibility & contrast

On white

2.43
#CB91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#CB91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91DF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91DF#FFFFFF#000000##000000
##CB91DF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#94A8DD
Tritanopia (blue-blind)
#CB9BAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb91df;
/* rgb */ color: rgb(203, 145, 223);
/* oklch */ color: oklch(74.0% 0.126 317.2);
Tailwind
colors: {
  custom: {
    50: '#dcb2e9',
    500: '#cb91df',
    950: '#000000',
  },
}
SCSS
$custom: #cb91df;
$custom-light: #dcb2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91df",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 284.615,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74018,
    "c": 0.12562,
    "h": 317.2
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#CB91DF
secondary
#E1EFDC
accent
#C2234C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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