#CA71E9#CA71E9

#CA71E9 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.189 H 316.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA71E9
RGBrgb(202, 113, 233)
HSLhsl(285, 73%, 68%)
HSVhsv(285, 52%, 91%)
CMYKcmyk(13.3%, 51.5%, 0%, 8.6%)
CIE-LABlab(61.87, 53.96, -46.62)
CIE-LCHlch(61.87, 71.31, 319.17°)
OKLaboklab(69.38% 0.1378 -0.1297)
OKLCHoklch(69.38% 0.189 316.7)
XYZxyz(44.9681, 30.2515, 80.5453)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E9 #90E971
analogous
#8E71E9 #CA71E9 #E971CC
triadic
#CA71E9 #E9CA71 #71E9CA
tetradic
#CA71E9 #E98E71 #90E971 #71CCE9
square
#CA71E9 #E98E71 #90E971 #71CCE9
split-complementary
#CA71E9 #CCE971 #71E98E
monochromatic
#971EC2 #B63CE1 #CA71E9 #DEA6F1 #F2DBF9

Accessibility & contrast

On white

2.98
#CA71E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA71E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71E9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E9#FFFFFF#000000##000000
##CA71E91.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890ED
Deuteranopia (green-blind)
#7498E6
Tritanopia (blue-blind)
#C983A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e9;
/* rgb */ color: rgb(202, 113, 233);
/* oklch */ color: oklch(69.4% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#dc9df0',
    500: '#ca71e9',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e9;
$custom-light: #dc9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e9",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 284.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.1892,
    "h": 316.7
  },
  "luminance": 0.3025
}

Semantic roles & 50–950 ramp

primary
#CA71E9
secondary
#D2EDC8
accent
#D51043
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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