#CA86DC#CA86DC

#CA86DC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.0% C 0.141 H 319.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CA86DC
RGBrgb(202, 134, 220)
HSLhsl(287, 55%, 69%)
HSVhsv(287, 39%, 86%)
CMYKcmyk(8.2%, 39.1%, 0%, 13.7%)
CIE-LABlab(65.57, 40.38, -33.60)
CIE-LCHlch(65.57, 52.53, 320.24°)
OKLaboklab(71.95% 0.1064 -0.0923)
OKLCHoklch(71.95% 0.141 319.1)
XYZxyz(45.7988, 34.7754, 71.9961)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86DC #98DC86
analogous
#9F86DC #CA86DC #DC86C3
triadic
#CA86DC #DCCA86 #86DCCA
tetradic
#CA86DC #DC9F86 #98DC86 #86C3DC
square
#CA86DC #DC9F86 #98DC86 #86C3DC
split-complementary
#CA86DC #C3DC86 #86DC9F
monochromatic
#9934B4 #B557CE #CA86DC #DFB5EA #F4E5F7

Accessibility & contrast

On white

2.64
#CA86DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CA86DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86DC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86DC#FFFFFF#000000##000000
##CA86DC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#8BA2D9
Tritanopia (blue-blind)
#CB91A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca86dc;
/* rgb */ color: rgb(202, 134, 220);
/* oklch */ color: oklch(72.0% 0.141 319.1);
Tailwind
colors: {
  custom: {
    50: '#dbaae7',
    500: '#ca86dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca86dc;
$custom-light: #dbaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86dc",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 287.442,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71953,
    "c": 0.14085,
    "h": 319.1
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#CA86DC
secondary
#D8EBD3
accent
#C32344
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA86DC

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

Preview Lab → · Contrast checker → · Palette generator →

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