#CA71EA#CA71EA

#CA71EA is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.190 H 316.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA71EA
RGBrgb(202, 113, 234)
HSLhsl(284, 74%, 68%)
HSVhsv(284, 52%, 92%)
CMYKcmyk(13.7%, 51.7%, 0%, 8.2%)
CIE-LABlab(61.92, 54.16, -47.10)
CIE-LCHlch(61.92, 71.77, 318.99°)
OKLaboklab(69.44% 0.1379 -0.1311)
OKLCHoklch(69.44% 0.19 316.4)
XYZxyz(45.1113, 30.3088, 81.2998)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71EA #91EA71
analogous
#8D71EA #CA71EA #EA71CE
triadic
#CA71EA #EACA71 #71EACA
tetradic
#CA71EA #EA8D71 #91EA71 #71CEEA
square
#CA71EA #EA8D71 #91EA71 #71CEEA
split-complementary
#CA71EA #CEEA71 #71EA8D
monochromatic
#981DC4 #B63CE2 #CA71EA #DEA6F2 #F2DCFA

Accessibility & contrast

On white

2.97
#CA71EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71EA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71EA#FFFFFF#000000##000000
##CA71EA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#C983A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71ea;
/* rgb */ color: rgb(202, 113, 234);
/* oklch */ color: oklch(69.4% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#dc9df1',
    500: '#ca71ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ea;
$custom-light: #dc9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ea",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 284.132,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.19023,
    "h": 316.4
  },
  "luminance": 0.30307
}

Semantic roles & 50–950 ramp

primary
#CA71EA
secondary
#D3EEC9
accent
#D60F44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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