#CB71DD#CB71DD

#CB71DD is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.178 H 320.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CB71DD
RGBrgb(203, 113, 221)
HSLhsl(290, 61%, 65%)
HSVhsv(290, 49%, 87%)
CMYKcmyk(8.1%, 48.9%, 0%, 13.3%)
CIE-LABlab(61.42, 51.86, -40.63)
CIE-LCHlch(61.42, 65.88, 321.92°)
OKLaboklab(68.89% 0.1375 -0.1123)
OKLCHoklch(68.89% 0.178 320.8)
XYZxyz(43.5833, 29.7290, 71.8351)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DD #83DD71
analogous
#9571DD #CB71DD #DD71B9
triadic
#CB71DD #DDCB71 #71DDCB
tetradic
#CB71DD #DD9571 #83DD71 #71B9DD
square
#CB71DD #DD9571 #83DD71 #71B9DD
split-complementary
#CB71DD #B9DD71 #71DD95
monochromatic
#9529AB #B940D1 #CB71DD #DDA2E9 #EFD4F5

Accessibility & contrast

On white

3.02
#CB71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CB71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DD#FFFFFF#000000##000000
##CB71DD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#CD7F9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71dd;
/* rgb */ color: rgb(203, 113, 221);
/* oklch */ color: oklch(68.9% 0.178 320.8);
Tailwind
colors: {
  custom: {
    50: '#dd9de8',
    500: '#cb71dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb71dd;
$custom-light: #dd9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71dd",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 290,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68891,
    "c": 0.17755,
    "h": 320.8
  },
  "luminance": 0.29727
}

Semantic roles & 50–950 ramp

primary
#CB71DD
secondary
#C9E7C3
accent
#C91C39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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