#CB81DF#CB81DF

#CB81DF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.4% C 0.153 H 318.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CB81DF
RGBrgb(203, 129, 223)
HSLhsl(287, 59%, 69%)
HSVhsv(287, 42%, 87%)
CMYKcmyk(9%, 42.2%, 0%, 12.5%)
CIE-LABlab(64.74, 43.95, -36.54)
CIE-LCHlch(64.74, 57.15, 320.25°)
OKLaboklab(71.4% 0.1154 -0.1007)
OKLCHoklch(71.4% 0.153 318.9)
XYZxyz(45.7964, 33.7262, 73.8951)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81DF #95DF81
analogous
#9C81DF #CB81DF #DF81C4
triadic
#CB81DF #DFCB81 #81DFCB
tetradic
#CB81DF #DF9C81 #95DF81 #81C4DF
square
#CB81DF #DF9C81 #95DF81 #81C4DF
split-complementary
#CB81DF #C4DF81 #81DF9C
monochromatic
#9A2FB7 #B750D3 #CB81DF #DFB2EB #F3E3F8

Accessibility & contrast

On white

2.71
#CB81DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CB81DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81DF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81DF#FFFFFF#000000##000000
##CB81DF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#86A0DC
Tritanopia (blue-blind)
#CC8DA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb81df;
/* rgb */ color: rgb(203, 129, 223);
/* oklch */ color: oklch(71.4% 0.153 318.9);
Tailwind
colors: {
  custom: {
    50: '#dca7e9',
    500: '#cb81df',
    950: '#000000',
  },
}
SCSS
$custom: #cb81df;
$custom-light: #dca7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81df",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 287.234,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.15311,
    "h": 318.9
  },
  "luminance": 0.33725
}

Semantic roles & 50–950 ramp

primary
#CB81DF
secondary
#D6ECD0
accent
#C71E42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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