#CA71DD#CA71DD

#CA71DD is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.177 H 320.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CA71DD
RGBrgb(202, 113, 221)
HSLhsl(289, 61%, 65%)
HSVhsv(289, 49%, 87%)
CMYKcmyk(8.6%, 48.9%, 0%, 13.3%)
CIE-LABlab(61.30, 51.58, -40.83)
CIE-LCHlch(61.30, 65.78, 321.64°)
OKLaboklab(68.77% 0.1363 -0.1129)
OKLCHoklch(68.77% 0.177 320.4)
XYZxyz(43.3118, 29.5890, 71.8224)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71DD #84DD71
analogous
#9471DD #CA71DD #DD71BA
triadic
#CA71DD #DDCA71 #71DDCA
tetradic
#CA71DD #DD9471 #84DD71 #71BADD
square
#CA71DD #DD9471 #84DD71 #71BADD
split-complementary
#CA71DD #BADD71 #71DD94
monochromatic
#9429AB #B840D1 #CA71DD #DCA2E9 #EFD4F5

Accessibility & contrast

On white

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

On black

6.92
#CA71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71DD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71DD#FFFFFF#000000##000000
##CA71DD1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE1
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#CB809D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71dd;
/* rgb */ color: rgb(202, 113, 221);
/* oklch */ color: oklch(68.8% 0.177 320.4);
Tailwind
colors: {
  custom: {
    50: '#dc9de8',
    500: '#ca71dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca71dd;
$custom-light: #dc9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71dd",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 289.444,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.17703,
    "h": 320.4
  },
  "luminance": 0.29587
}

Semantic roles & 50–950 ramp

primary
#CA71DD
secondary
#C9E7C3
accent
#C91C3B
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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