#CA71DC#CA71DC

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

Color values

HEX#CA71DC
RGBrgb(202, 113, 220)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 49%, 86%)
CMYKcmyk(8.2%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.25, 51.39, -40.34)
CIE-LCHlch(61.25, 65.33, 321.87°)
OKLaboklab(68.73% 0.1362 -0.1115)
OKLCHoklch(68.73% 0.176 320.7)
XYZxyz(43.1790, 29.5358, 71.1228)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71DC #83DC71
analogous
#9571DC #CA71DC #DC71B8
triadic
#CA71DC #DCCA71 #71DCCA
tetradic
#CA71DC #DC9571 #83DC71 #71B8DC
square
#CA71DC #DC9571 #83DC71 #71B8DC
split-complementary
#CA71DC #B8DC71 #71DC95
monochromatic
#942AA9 #B840D0 #CA71DC #DCA2E8 #EFD3F4

Accessibility & contrast

On white

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

On black

6.91
#CA71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71DC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71DC#FFFFFF#000000##000000
##CA71DC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#CC7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71dc;
/* rgb */ color: rgb(202, 113, 220);
/* oklch */ color: oklch(68.7% 0.176 320.7);
Tailwind
colors: {
  custom: {
    50: '#dc9de7',
    500: '#ca71dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca71dc;
$custom-light: #dc9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71dc",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 289.907,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.17604,
    "h": 320.7
  },
  "luminance": 0.29534
}

Semantic roles & 50–950 ramp

primary
#CA71DC
secondary
#C8E6C2
accent
#C81D3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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