#CA71CD#CA71CD

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

Color values

HEX#CA71CD
RGBrgb(202, 113, 205)
HSLhsl(298, 48%, 62%)
HSVhsv(298, 45%, 80%)
CMYKcmyk(1.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(60.58, 48.55, -32.95)
CIE-LCHlch(60.58, 58.67, 325.84°)
OKLaboklab(68.01% 0.1338 -0.0903)
OKLCHoklch(68.01% 0.161 326)
XYZxyz(41.2808, 28.7766, 61.1258)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71CD #74CD71
analogous
#9C71CD #CA71CD #CD71A2
triadic
#CA71CD #CDCA71 #71CDCA
tetradic
#CA71CD #CD9C71 #74CD71 #71A2CD
square
#CA71CD #CD9C71 #74CD71 #71A2CD
split-complementary
#CA71CD #A2CD71 #71CD9C
monochromatic
#8E3391 #B944BD #CA71CD #DB9EDD #ECCCED

Accessibility & contrast

On white

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

On black

6.76
#CA71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71CD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71CD#FFFFFF#000000##000000
##CA71CD1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#CE7B95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca71cd;
/* rgb */ color: rgb(202, 113, 205);
/* oklch */ color: oklch(68.0% 0.161 326.0);
Tailwind
colors: {
  custom: {
    50: '#dc9cdc',
    500: '#ca71cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca71cd;
$custom-light: #dc9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71cd",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 298.043,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.1614,
    "h": 326
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#CA71CD
secondary
#BDDEBC
accent
#BB2A2F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CA71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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