#CA71CB#CA71CB

#CA71CB is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.9% C 0.160 H 326.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CA71CB
RGBrgb(202, 113, 203)
HSLhsl(299, 46%, 62%)
HSVhsv(299, 44%, 80%)
CMYKcmyk(0.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(60.50, 48.18, -31.95)
CIE-LCHlch(60.50, 57.81, 326.45°)
OKLaboklab(67.92% 0.1334 -0.0874)
OKLCHoklch(67.92% 0.16 326.8)
XYZxyz(41.0409, 28.6806, 59.8625)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71CB #72CB71
analogous
#9D71CB #CA71CB #CB719F
triadic
#CA71CB #CBCA71 #71CBCA
tetradic
#CA71CB #CB9D71 #72CB71 #719FCB
square
#CA71CB #CB9D71 #72CB71 #719FCB
split-complementary
#CA71CB #9FCB71 #71CB9D
monochromatic
#8D348E #B944BB #CA71CB #DB9EDB #EBCBEC

Accessibility & contrast

On white

3.12
#CA71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CA71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71CB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71CB#FFFFFF#000000##000000
##CA71CB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#8296C8
Tritanopia (blue-blind)
#CF7A95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71cb;
/* rgb */ color: rgb(202, 113, 203);
/* oklch */ color: oklch(67.9% 0.160 326.8);
Tailwind
colors: {
  custom: {
    50: '#dc9cdb',
    500: '#ca71cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca71cb;
$custom-light: #dc9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71cb",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 299.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.15951,
    "h": 326.8
  },
  "luminance": 0.28679
}

Semantic roles & 50–950 ramp

primary
#CA71CB
secondary
#BCDCBB
accent
#BA2C2D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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