#CB71CA#CB71CA

#CB71CA is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.159 H 327.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#CB71CA
RGBrgb(203, 113, 202)
HSLhsl(301, 46%, 62%)
HSVhsv(301, 44%, 80%)
CMYKcmyk(0%, 44.3%, 0.5%, 20.4%)
CIE-LABlab(60.58, 48.30, -31.25)
CIE-LCHlch(60.58, 57.52, 327.10°)
OKLaboklab(67.99% 0.1344 -0.0854)
OKLCHoklch(67.99% 0.159 327.6)
XYZxyz(41.1937, 28.7731, 59.2496)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71CA #71CB72
analogous
#9F71CB #CB71CA #CB719D
triadic
#CB71CA #CACB71 #71CACB
tetradic
#CB71CA #CB9F71 #71CB72 #719DCB
square
#CB71CA #CB9F71 #71CB72 #719DCB
split-complementary
#CB71CA #9DCB71 #71CB9F
monochromatic
#8E348D #BB44B9 #CB71CA #DB9EDB #ECCBEB

Accessibility & contrast

On white

3.11
#CB71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#CB71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71CA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71CA#FFFFFF#000000##000000
##CB71CA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#8396C7
Tritanopia (blue-blind)
#D07A94
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb71ca;
/* rgb */ color: rgb(203, 113, 202);
/* oklch */ color: oklch(68.0% 0.159 327.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cda',
    500: '#cb71ca',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ca;
$custom-light: #dd9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ca",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 300.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67993,
    "c": 0.15921,
    "h": 327.6
  },
  "luminance": 0.28771
}

Semantic roles & 50–950 ramp

primary
#CB71CA
secondary
#BBDCBC
accent
#BA2D2C
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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