#CA71E2#CA71E2

#CA71E2 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.182 H 318.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CA71E2
RGBrgb(202, 113, 226)
HSLhsl(287, 66%, 66%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(10.6%, 50%, 0%, 11.4%)
CIE-LABlab(61.53, 52.56, -43.25)
CIE-LCHlch(61.53, 68.07, 320.55°)
OKLaboklab(69.03% 0.137 -0.1199)
OKLCHoklch(69.03% 0.182 318.8)
XYZxyz(43.9879, 29.8594, 75.3831)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E2 #89E271
analogous
#9271E2 #CA71E2 #E271C2
triadic
#CA71E2 #E2CA71 #71E2CA
tetradic
#CA71E2 #E29271 #89E271 #71C2E2
square
#CA71E2 #E29271 #89E271 #71C2E2
split-complementary
#CA71E2 #C2E271 #71E292
monochromatic
#9525B4 #B73ED8 #CA71E2 #DDA4EC #F0D7F7

Accessibility & contrast

On white

3.01
#CA71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CA71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71E2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E2#FFFFFF#000000##000000
##CA71E21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#CA819F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e2;
/* rgb */ color: rgb(202, 113, 226);
/* oklch */ color: oklch(69.0% 0.182 318.8);
Tailwind
colors: {
  custom: {
    50: '#dc9deb',
    500: '#ca71e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e2;
$custom-light: #dc9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e2",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 287.257,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.18207,
    "h": 318.8
  },
  "luminance": 0.29858
}

Semantic roles & 50–950 ramp

primary
#CA71E2
secondary
#CDEAC5
accent
#CE183E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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