#CA71E1#CA71E1

#CA71E1 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.0% C 0.181 H 319.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CA71E1
RGBrgb(202, 113, 225)
HSLhsl(288, 65%, 66%)
HSVhsv(288, 50%, 88%)
CMYKcmyk(10.2%, 49.8%, 0%, 11.8%)
CIE-LABlab(61.49, 52.36, -42.77)
CIE-LCHlch(61.49, 67.61, 320.76°)
OKLaboklab(68.97% 0.1369 -0.1185)
OKLCHoklch(68.97% 0.181 319.1)
XYZxyz(43.8511, 29.8047, 74.6625)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E1 #88E171
analogous
#9271E1 #CA71E1 #E171C0
triadic
#CA71E1 #E1CA71 #71E1CA
tetradic
#CA71E1 #E19271 #88E171 #71C0E1
square
#CA71E1 #E19271 #88E171 #71C0E1
split-complementary
#CA71E1 #C0E171 #71E192
monochromatic
#9526B2 #B73ED6 #CA71E1 #DDA4EC #F0D6F6

Accessibility & contrast

On white

3.02
#CA71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CA71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71E1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E1#FFFFFF#000000##000000
##CA71E11.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE5
Deuteranopia (green-blind)
#7898DE
Tritanopia (blue-blind)
#CB819F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca71e1;
/* rgb */ color: rgb(202, 113, 225);
/* oklch */ color: oklch(69.0% 0.181 319.1);
Tailwind
colors: {
  custom: {
    50: '#dc9deb',
    500: '#ca71e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e1;
$custom-light: #dc9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e1",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 287.679,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68974,
    "c": 0.18106,
    "h": 319.1
  },
  "luminance": 0.29803
}

Semantic roles & 50–950 ramp

primary
#CA71E1
secondary
#CCE9C5
accent
#CD193E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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