#CA86EC#CA86EC

#CA86EC is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.7% C 0.158 H 313.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CA86EC
RGBrgb(202, 134, 236)
HSLhsl(280, 73%, 73%)
HSVhsv(280, 43%, 93%)
CMYKcmyk(14.4%, 43.2%, 0%, 7.5%)
CIE-LABlab(66.26, 43.65, -41.38)
CIE-LCHlch(66.26, 60.14, 316.53°)
OKLaboklab(72.7% 0.1094 -0.1146)
OKLCHoklch(72.7% 0.158 313.7)
XYZxyz(48.0201, 35.6639, 83.6948)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86EC #A8EC86
analogous
#9786EC #CA86EC #EC86DB
triadic
#CA86EC #ECCA86 #86ECCA
tetradic
#CA86EC #EC9786 #A8EC86 #86DBEC
square
#CA86EC #EC9786 #A8EC86 #86DBEC
split-complementary
#CA86EC #DBEC86 #86EC97
monochromatic
#9A22D6 #B351E4 #CA86EC #E1BBF4 #F3E5FB

Accessibility & contrast

On white

2.58
#CA86EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CA86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86EC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86EC#FFFFFF#000000##000000
##CA86EC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#C795AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca86ec;
/* rgb */ color: rgb(202, 134, 236);
/* oklch */ color: oklch(72.7% 0.158 313.7);
Tailwind
colors: {
  custom: {
    50: '#dcaaf2',
    500: '#ca86ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca86ec;
$custom-light: #dcaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86ec",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 280,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.15848,
    "h": 313.7
  },
  "luminance": 0.35663
}

Semantic roles & 50–950 ramp

primary
#CA86EC
secondary
#E1F3D8
accent
#D51152
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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