#CA71D0#CA71D0

#CA71D0 is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.164 H 324.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CA71D0
RGBrgb(202, 113, 208)
HSLhsl(296, 50%, 63%)
HSVhsv(296, 46%, 82%)
CMYKcmyk(2.9%, 45.7%, 0%, 18.4%)
CIE-LABlab(60.71, 49.10, -34.44)
CIE-LCHlch(60.71, 59.98, 324.96°)
OKLaboklab(68.15% 0.1343 -0.0946)
OKLCHoklch(68.15% 0.164 324.9)
XYZxyz(41.6464, 28.9228, 63.0512)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71D0 #77D071
analogous
#9B71D0 #CA71D0 #D071A6
triadic
#CA71D0 #D0CA71 #71D0CA
tetradic
#CA71D0 #D09B71 #77D071 #71A6D0
square
#CA71D0 #D09B71 #77D071 #71A6D0
split-complementary
#CA71D0 #A6D071 #71D09B
monochromatic
#8F3195 #B943C1 #CA71D0 #DB9FDF #ECCDEE

Accessibility & contrast

On white

3.10
#CA71D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CA71D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71D0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71D0#FFFFFF#000000##000000
##CA71D01.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD3
Deuteranopia (green-blind)
#8096CD
Tritanopia (blue-blind)
#CE7C97
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71d0;
/* rgb */ color: rgb(202, 113, 208);
/* oklch */ color: oklch(68.1% 0.164 324.9);
Tailwind
colors: {
  custom: {
    50: '#dc9cde',
    500: '#ca71d0',
    950: '#000000',
  },
}
SCSS
$custom: #ca71d0;
$custom-light: #dc9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71d0",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 296.211,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68149,
    "c": 0.16426,
    "h": 324.9
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#CA71D0
secondary
#BFDFBD
accent
#BE2831
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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