#CB71D9#CB71D9

#CB71D9 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.174 H 322.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CB71D9
RGBrgb(203, 113, 217)
HSLhsl(292, 58%, 65%)
HSVhsv(292, 48%, 85%)
CMYKcmyk(6.5%, 47.9%, 0%, 14.9%)
CIE-LABlab(61.24, 51.09, -38.67)
CIE-LCHlch(61.24, 64.08, 322.88°)
OKLaboklab(68.69% 0.1369 -0.1067)
OKLCHoklch(68.69% 0.174 322.1)
XYZxyz(43.0568, 29.5183, 69.0618)
Luminance0.2952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71D9 #7FD971
analogous
#9771D9 #CB71D9 #D971B3
triadic
#CB71D9 #D9CB71 #71D9CB
tetradic
#CB71D9 #D99771 #7FD971 #71B3D9
square
#CB71D9 #D99771 #7FD971 #71B3D9
split-complementary
#CB71D9 #B3D971 #71D997
monochromatic
#942CA4 #B941CC #CB71D9 #DDA1E6 #EED2F3

Accessibility & contrast

On white

3.04
#CB71D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CB71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71D9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71D9#FFFFFF#000000##000000
##CB71D91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDD
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#CD7E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb71d9;
/* rgb */ color: rgb(203, 113, 217);
/* oklch */ color: oklch(68.7% 0.174 322.1);
Tailwind
colors: {
  custom: {
    50: '#dd9de5',
    500: '#cb71d9',
    950: '#000000',
  },
}
SCSS
$custom: #cb71d9;
$custom-light: #dd9de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71d9",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 291.923,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.17359,
    "h": 322.1
  },
  "luminance": 0.29517
}

Semantic roles & 50–950 ramp

primary
#CB71D9
secondary
#C6E5C1
accent
#C52036
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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