#CB71DC#CB71DC

#CB71DC is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.8% C 0.177 H 321.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CB71DC
RGBrgb(203, 113, 220)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 49%, 86%)
CMYKcmyk(7.7%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.37, 51.67, -40.14)
CIE-LCHlch(61.37, 65.43, 322.16°)
OKLaboklab(68.84% 0.1374 -0.1109)
OKLCHoklch(68.84% 0.177 321.1)
XYZxyz(43.4505, 29.6758, 71.1355)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DC #82DC71
analogous
#9571DC #CB71DC #DC71B8
triadic
#CB71DC #DCCB71 #71DCCB
tetradic
#CB71DC #DC9571 #82DC71 #71B8DC
square
#CB71DC #DC9571 #82DC71 #71B8DC
split-complementary
#CB71DC #B8DC71 #71DC95
monochromatic
#952AA9 #B940D0 #CB71DC #DDA2E8 #EFD3F4

Accessibility & contrast

On white

3.03
#CB71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CB71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DC#FFFFFF#000000##000000
##CB71DC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#CD7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71dc;
/* rgb */ color: rgb(203, 113, 220);
/* oklch */ color: oklch(68.8% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#dd9de7',
    500: '#cb71dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb71dc;
$custom-light: #dd9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71dc",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 290.467,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.17656,
    "h": 321.1
  },
  "luminance": 0.29674
}

Semantic roles & 50–950 ramp

primary
#CB71DC
secondary
#C8E6C2
accent
#C81D38
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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