#CA71E4#CA71E4

#CA71E4 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.184 H 318.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CA71E4
RGBrgb(202, 113, 228)
HSLhsl(286, 68%, 67%)
HSVhsv(286, 50%, 89%)
CMYKcmyk(11.4%, 50.4%, 0%, 10.6%)
CIE-LABlab(61.63, 52.96, -44.22)
CIE-LCHlch(61.63, 68.99, 320.14°)
OKLaboklab(69.13% 0.1372 -0.1227)
OKLCHoklch(69.13% 0.184 318.2)
XYZxyz(44.2639, 29.9698, 76.8368)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E4 #8BE471
analogous
#9171E4 #CA71E4 #E471C4
triadic
#CA71E4 #E4CA71 #71E4CA
tetradic
#CA71E4 #E49171 #8BE471 #71C4E4
square
#CA71E4 #E49171 #8BE471 #71C4E4
split-complementary
#CA71E4 #C4E471 #71E491
monochromatic
#9623B8 #B73EDA #CA71E4 #DDA4EE #F0D8F8

Accessibility & contrast

On white

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

On black

6.99
#CA71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71E4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E4#FFFFFF#000000##000000
##CA71E41.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE8
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#CA82A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e4;
/* rgb */ color: rgb(202, 113, 228);
/* oklch */ color: oklch(69.1% 0.184 318.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ded',
    500: '#ca71e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e4;
$custom-light: #dc9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e4",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 286.435,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.1841,
    "h": 318.2
  },
  "luminance": 0.29968
}

Semantic roles & 50–950 ramp

primary
#CA71E4
secondary
#CEEBC6
accent
#D01640
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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