#CA71E7#CA71E7

#CA71E7 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.187 H 317.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CA71E7
RGBrgb(202, 113, 231)
HSLhsl(285, 71%, 67%)
HSVhsv(285, 51%, 91%)
CMYKcmyk(12.6%, 51.1%, 0%, 9.4%)
CIE-LABlab(61.77, 53.55, -45.66)
CIE-LCHlch(61.77, 70.38, 319.55°)
OKLaboklab(69.28% 0.1376 -0.1269)
OKLCHoklch(69.28% 0.187 317.3)
XYZxyz(44.6840, 30.1379, 79.0492)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71E7 #8EE771
analogous
#8F71E7 #CA71E7 #E771C9
triadic
#CA71E7 #E7CA71 #71E7CA
tetradic
#CA71E7 #E78F71 #8EE771 #71C9E7
square
#CA71E7 #E78F71 #8EE771 #71C9E7
split-complementary
#CA71E7 #C9E771 #71E78F
monochromatic
#9720BE #B63DDE #CA71E7 #DEA5F0 #F1DAF9

Accessibility & contrast

On white

2.99
#CA71E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CA71E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71E7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71E7#FFFFFF#000000##000000
##CA71E71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#C983A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca71e7;
/* rgb */ color: rgb(202, 113, 231);
/* oklch */ color: oklch(69.3% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#dc9def',
    500: '#ca71e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca71e7;
$custom-light: #dc9def;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71e7",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 285.254,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.18716,
    "h": 317.3
  },
  "luminance": 0.30136
}

Semantic roles & 50–950 ramp

primary
#CA71E7
secondary
#D1ECC7
accent
#D31242
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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