#CB71DB#CB71DB

#CB71DB is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.176 H 321.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CB71DB
RGBrgb(203, 113, 219)
HSLhsl(291, 60%, 65%)
HSVhsv(291, 48%, 86%)
CMYKcmyk(7.3%, 48.4%, 0%, 14.1%)
CIE-LABlab(61.33, 51.47, -39.65)
CIE-LCHlch(61.33, 64.98, 322.39°)
OKLaboklab(68.79% 0.1372 -0.1095)
OKLCHoklch(68.79% 0.176 321.4)
XYZxyz(43.3185, 29.6230, 70.4401)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DB #81DB71
analogous
#9671DB #CB71DB #DB71B6
triadic
#CB71DB #DBCB71 #71DBCB
tetradic
#CB71DB #DB9671 #81DB71 #71B6DB
square
#CB71DB #DB9671 #81DB71 #71B6DB
split-complementary
#CB71DB #B6DB71 #71DB96
monochromatic
#942AA7 #B940CF #CB71DB #DDA2E7 #EFD3F4

Accessibility & contrast

On white

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

On black

6.92
#CB71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DB#FFFFFF#000000##000000
##CB71DB1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#CD7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71db;
/* rgb */ color: rgb(203, 113, 219);
/* oklch */ color: oklch(68.8% 0.176 321.4);
Tailwind
colors: {
  custom: {
    50: '#dd9de6',
    500: '#cb71db',
    950: '#000000',
  },
}
SCSS
$custom: #cb71db;
$custom-light: #dd9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71db",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 290.943,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68792,
    "c": 0.17557,
    "h": 321.4
  },
  "luminance": 0.29621
}

Semantic roles & 50–950 ramp

primary
#CB71DB
secondary
#C7E6C2
accent
#C71E38
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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