#CA86E2#CA86E2

#CA86E2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.2% C 0.147 H 316.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CA86E2
RGBrgb(202, 134, 226)
HSLhsl(284, 61%, 71%)
HSVhsv(284, 41%, 89%)
CMYKcmyk(10.6%, 40.7%, 0%, 11.4%)
CIE-LABlab(65.83, 41.59, -36.53)
CIE-LCHlch(65.83, 55.35, 318.70°)
OKLaboklab(72.23% 0.1076 -0.1007)
OKLCHoklch(72.23% 0.147 316.9)
XYZxyz(46.6077, 35.0990, 76.2564)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86E2 #9EE286
analogous
#9C86E2 #CA86E2 #E286CC
triadic
#CA86E2 #E2CA86 #86E2CA
tetradic
#CA86E2 #E29C86 #9EE286 #86CCE2
square
#CA86E2 #E29C86 #9EE286 #86CCE2
split-complementary
#CA86E2 #CCE286 #86E29C
monochromatic
#9A2EC0 #B455D6 #CA86E2 #E0B7EE #F4E6F9

Accessibility & contrast

On white

2.62
#CA86E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CA86E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86E2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86E2#FFFFFF#000000##000000
##CA86E21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE5
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#C992A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca86e2;
/* rgb */ color: rgb(202, 134, 226);
/* oklch */ color: oklch(72.2% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#dbaaeb',
    500: '#ca86e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca86e2;
$custom-light: #dbaaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86e2",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 284.348,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.14738,
    "h": 316.9
  },
  "luminance": 0.35098
}

Semantic roles & 50–950 ramp

primary
#CA86E2
secondary
#DCEED5
accent
#C91C49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA86E2

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

Preview Lab → · Contrast checker → · Palette generator →

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