#CA71DF#CA71DF

#CA71DF is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.179 H 319.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CA71DF
RGBrgb(202, 113, 223)
HSLhsl(289, 63%, 66%)
HSVhsv(289, 49%, 87%)
CMYKcmyk(9.4%, 49.3%, 0%, 12.5%)
CIE-LABlab(61.39, 51.97, -41.80)
CIE-LCHlch(61.39, 66.70, 321.19°)
OKLaboklab(68.87% 0.1366 -0.1157)
OKLCHoklch(68.87% 0.179 319.7)
XYZxyz(43.5799, 29.6962, 73.2341)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71DF #86DF71
analogous
#9371DF #CA71DF #DF71BD
triadic
#CA71DF #DFCA71 #71DFCA
tetradic
#CA71DF #DF9371 #86DF71 #71BDDF
square
#CA71DF #DF9371 #86DF71 #71BDDF
split-complementary
#CA71DF #BDDF71 #71DF93
monochromatic
#9527AE #B73FD4 #CA71DF #DDA3EA #EFD5F6

Accessibility & contrast

On white

3.03
#CA71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CA71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71DF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71DF#FFFFFF#000000##000000
##CA71DF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#7997DC
Tritanopia (blue-blind)
#CB809E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71df;
/* rgb */ color: rgb(202, 113, 223);
/* oklch */ color: oklch(68.9% 0.179 319.7);
Tailwind
colors: {
  custom: {
    50: '#dc9de9',
    500: '#ca71df',
    950: '#000000',
  },
}
SCSS
$custom: #ca71df;
$custom-light: #dc9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71df",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 288.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68874,
    "c": 0.17904,
    "h": 319.7
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#CA71DF
secondary
#CBE8C4
accent
#CB1B3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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