#CA71E8#CA71E8

#CA71E8 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.188 H 317.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CA71E8
RGBrgb(202, 113, 232)
HSLhsl(285, 72%, 68%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.9%, 51.3%, 0%, 9%)
CIE-LABlab(61.82, 53.76, -46.14)
CIE-LCHlch(61.82, 70.84, 319.36°)
OKLaboklab(69.33% 0.1377 -0.1283)
OKLCHoklch(69.33% 0.188 317)
XYZxyz(44.8256, 30.1945, 79.7951)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E8 #8FE871
analogous
#8E71E8 #CA71E8 #E871CA
triadic
#CA71E8 #E8CA71 #71E8CA
tetradic
#CA71E8 #E88E71 #8FE871 #71CAE8
square
#CA71E8 #E88E71 #8FE871 #71CAE8
split-complementary
#CA71E8 #CAE871 #71E88E
monochromatic
#971FC0 #B63CDF #CA71E8 #DEA6F1 #F1DAF9

Accessibility & contrast

On white

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

On black

7.04
#CA71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71E8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E8#FFFFFF#000000##000000
##CA71E81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EC
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#C983A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e8;
/* rgb */ color: rgb(202, 113, 232);
/* oklch */ color: oklch(69.3% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#dc9df0',
    500: '#ca71e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e8;
$custom-light: #dc9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e8",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 284.874,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.18818,
    "h": 317
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#CA71E8
secondary
#D1EDC8
accent
#D41142
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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