#CA71E5#CA71E5

#CA71E5 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.185 H 317.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CA71E5
RGBrgb(202, 113, 229)
HSLhsl(286, 69%, 67%)
HSVhsv(286, 51%, 90%)
CMYKcmyk(11.8%, 50.7%, 0%, 10.2%)
CIE-LABlab(61.68, 53.16, -44.70)
CIE-LCHlch(61.68, 69.45, 319.94°)
OKLaboklab(69.18% 0.1373 -0.1241)
OKLCHoklch(69.18% 0.185 317.9)
XYZxyz(44.4031, 30.0255, 77.5701)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E5 #8CE571
analogous
#9071E5 #CA71E5 #E571C6
triadic
#CA71E5 #E5CA71 #71E5CA
tetradic
#CA71E5 #E59071 #8CE571 #71C6E5
square
#CA71E5 #E59071 #8CE571 #71C6E5
split-complementary
#CA71E5 #C6E571 #71E590
monochromatic
#9622BA #B73DDC #CA71E5 #DDA5EE #F1D8F8

Accessibility & contrast

On white

3.00
#CA71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CA71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71E5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E5#FFFFFF#000000##000000
##CA71E51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE9
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#CA82A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e5;
/* rgb */ color: rgb(202, 113, 229);
/* oklch */ color: oklch(69.2% 0.185 317.9);
Tailwind
colors: {
  custom: {
    50: '#dc9ded',
    500: '#ca71e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e5;
$custom-light: #dc9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e5",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 286.034,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69178,
    "c": 0.18512,
    "h": 317.9
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

primary
#CA71E5
secondary
#CFEBC6
accent
#D11440
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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