#CB71D3#CB71D3

#CB71D3 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.4% C 0.168 H 324.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CB71D3
RGBrgb(203, 113, 211)
HSLhsl(295, 53%, 64%)
HSVhsv(295, 46%, 83%)
CMYKcmyk(3.8%, 46.4%, 0%, 17.3%)
CIE-LABlab(60.97, 49.95, -35.72)
CIE-LCHlch(60.97, 61.41, 324.43°)
OKLaboklab(68.41% 0.136 -0.0982)
OKLCHoklch(68.41% 0.168 324.2)
XYZxyz(42.2905, 29.2118, 65.0262)
Luminance0.2921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71D3 #79D371
analogous
#9A71D3 #CB71D3 #D371AA
triadic
#CB71D3 #D3CB71 #71D3CB
tetradic
#CB71D3 #D39A71 #79D371 #71AAD3
square
#CB71D3 #D39A71 #79D371 #71AAD3
split-complementary
#CB71D3 #AAD371 #71D39A
monochromatic
#91309A #BA42C5 #CB71D3 #DCA0E1 #EDCEF0

Accessibility & contrast

On white

3.07
#CB71D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CB71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71D3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71D3#FFFFFF#000000##000000
##CB71D31.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD6
Deuteranopia (green-blind)
#7F97D0
Tritanopia (blue-blind)
#CF7C98
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb71d3;
/* rgb */ color: rgb(203, 113, 211);
/* oklch */ color: oklch(68.4% 0.168 324.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ce1',
    500: '#cb71d3',
    950: '#000000',
  },
}
SCSS
$custom: #cb71d3;
$custom-light: #dd9ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71d3",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 295.102,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.16774,
    "h": 324.2
  },
  "luminance": 0.2921
}

Semantic roles & 50–950 ramp

primary
#CB71D3
secondary
#C1E1BF
accent
#C02532
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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