#CA71EC#CA71EC

#CA71EC is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.192 H 315.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA71EC
RGBrgb(202, 113, 236)
HSLhsl(283, 76%, 68%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.4%, 52.1%, 0%, 7.5%)
CIE-LABlab(62.02, 54.56, -48.05)
CIE-LCHlch(62.02, 72.71, 318.63°)
OKLaboklab(69.54% 0.138 -0.1339)
OKLCHoklch(69.54% 0.192 315.9)
XYZxyz(45.4003, 30.4244, 82.8216)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71EC #93EC71
analogous
#8C71EC #CA71EC #EC71D0
triadic
#CA71EC #ECCA71 #71ECCA
tetradic
#CA71EC #EC8C71 #93EC71 #71D0EC
square
#CA71EC #EC8C71 #93EC71 #71D0EC
split-complementary
#CA71EC #D0EC71 #71EC8C
monochromatic
#981BC8 #B63BE5 #CA71EC #DEA7F3 #F2DDFA

Accessibility & contrast

On white

2.96
#CA71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71EC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71EC#FFFFFF#000000##000000
##CA71EC1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#7298E9
Tritanopia (blue-blind)
#C884A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71ec;
/* rgb */ color: rgb(202, 113, 236);
/* oklch */ color: oklch(69.5% 0.192 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd9df2',
    500: '#ca71ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ec;
$custom-light: #dd9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ec",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 283.415,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69542,
    "c": 0.19229,
    "h": 315.9
  },
  "luminance": 0.30423
}

Semantic roles & 50–950 ramp

primary
#CA71EC
secondary
#D4EFCA
accent
#D90D45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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