#CB71DF#CB71DF

#CB71DF is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.0% C 0.180 H 320.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CB71DF
RGBrgb(203, 113, 223)
HSLhsl(289, 63%, 66%)
HSVhsv(289, 49%, 87%)
CMYKcmyk(9%, 49.3%, 0%, 12.5%)
CIE-LABlab(61.51, 52.25, -41.60)
CIE-LCHlch(61.51, 66.79, 321.47°)
OKLaboklab(68.99% 0.1378 -0.1151)
OKLCHoklch(68.99% 0.18 320.1)
XYZxyz(43.8514, 29.8362, 73.2468)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71DF #85DF71
analogous
#9471DF #CB71DF #DF71BC
triadic
#CB71DF #DFCB71 #71DFCB
tetradic
#CB71DF #DF9471 #85DF71 #71BCDF
square
#CB71DF #DF9471 #85DF71 #71BCDF
split-complementary
#CB71DF #BCDF71 #71DF94
monochromatic
#9627AE #B93FD4 #CB71DF #DDA3EA #F0D5F6

Accessibility & contrast

On white

3.01
#CB71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CB71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71DF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71DF#FFFFFF#000000##000000
##CB71DF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#CC809E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb71df;
/* rgb */ color: rgb(203, 113, 223);
/* oklch */ color: oklch(69.0% 0.180 320.1);
Tailwind
colors: {
  custom: {
    50: '#dd9de9',
    500: '#cb71df',
    950: '#000000',
  },
}
SCSS
$custom: #cb71df;
$custom-light: #dd9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71df",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 289.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6899,
    "c": 0.17955,
    "h": 320.1
  },
  "luminance": 0.29834
}

Semantic roles & 50–950 ramp

primary
#CB71DF
secondary
#CAE8C4
accent
#CB1B3B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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