#CA71EB#CA71EB

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

Color values

HEX#CA71EB
RGBrgb(202, 113, 235)
HSLhsl(284, 75%, 68%)
HSVhsv(284, 52%, 92%)
CMYKcmyk(14%, 51.9%, 0%, 7.8%)
CIE-LABlab(61.97, 54.36, -47.58)
CIE-LCHlch(61.97, 72.24, 318.81°)
OKLaboklab(69.49% 0.138 -0.1325)
OKLCHoklch(69.49% 0.191 316.2)
XYZxyz(45.2554, 30.3664, 82.0585)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71EB #92EB71
analogous
#8D71EB #CA71EB #EB71CF
triadic
#CA71EB #EBCA71 #71EBCA
tetradic
#CA71EB #EB8D71 #92EB71 #71CFEB
square
#CA71EB #EB8D71 #92EB71 #71CFEB
split-complementary
#CA71EB #CFEB71 #71EB8D
monochromatic
#981CC6 #B63BE3 #CA71EB #DEA7F3 #F2DCFA

Accessibility & contrast

On white

2.97
#CA71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CA71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA71EB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71EB#FFFFFF#000000##000000
##CA71EB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#C884A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca71eb;
/* rgb */ color: rgb(202, 113, 235);
/* oklch */ color: oklch(69.5% 0.191 316.2);
Tailwind
colors: {
  custom: {
    50: '#dc9df2',
    500: '#ca71eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca71eb;
$custom-light: #dc9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71eb",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 283.77,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69489,
    "c": 0.19126,
    "h": 316.2
  },
  "luminance": 0.30365
}

Semantic roles & 50–950 ramp

primary
#CA71EB
secondary
#D3EEC9
accent
#D70E45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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