#CA71DB#CA71DB

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

Color values

HEX#CA71DB
RGBrgb(202, 113, 219)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 48%, 86%)
CMYKcmyk(7.8%, 48.4%, 0%, 14.1%)
CIE-LABlab(61.21, 51.19, -39.85)
CIE-LCHlch(61.21, 64.88, 322.10°)
OKLaboklab(68.68% 0.1361 -0.1101)
OKLCHoklch(68.68% 0.175 321)
XYZxyz(43.0469, 29.4830, 70.4274)
Luminance0.2948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71DB #82DB71
analogous
#9571DB #CA71DB #DB71B7
triadic
#CA71DB #DBCA71 #71DBCA
tetradic
#CA71DB #DB9571 #82DB71 #71B7DB
square
#CA71DB #DB9571 #82DB71 #71B7DB
split-complementary
#CA71DB #B7DB71 #71DB95
monochromatic
#932AA7 #B840CF #CA71DB #DCA2E7 #EED3F4

Accessibility & contrast

On white

3.05
#CA71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CA71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71DB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71DB#FFFFFF#000000##000000
##CA71DB1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#CC7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71db;
/* rgb */ color: rgb(202, 113, 219);
/* oklch */ color: oklch(68.7% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#dc9de6',
    500: '#ca71db',
    950: '#000000',
  },
}
SCSS
$custom: #ca71db;
$custom-light: #dc9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71db",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 290.377,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68676,
    "c": 0.17504,
    "h": 321
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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