#CA86F2#CA86F2

#CA86F2 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.0% C 0.165 H 311.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CA86F2
RGBrgb(202, 134, 242)
HSLhsl(278, 81%, 74%)
HSVhsv(278, 45%, 95%)
CMYKcmyk(16.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(66.53, 44.91, -44.25)
CIE-LCHlch(66.53, 63.05, 315.42°)
OKLaboklab(72.99% 0.1104 -0.1229)
OKLCHoklch(72.99% 0.165 311.9)
XYZxyz(48.9064, 36.0185, 88.3631)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86F2 #AEF286
analogous
#9486F2 #CA86F2 #F286E4
triadic
#CA86F2 #F2CA86 #86F2CA
tetradic
#CA86F2 #F29486 #AEF286 #86E4F2
square
#CA86F2 #F29486 #AEF286 #86E4F2
split-complementary
#CA86F2 #E4F286 #86F294
monochromatic
#9919E5 #B24FEC #CA86F2 #E2BDF8 #F3E3FC

Accessibility & contrast

On white

2.56
#CA86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CA86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86F2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86F2#FFFFFF#000000##000000
##CA86F21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#C696B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca86f2;
/* rgb */ color: rgb(202, 134, 242);
/* oklch */ color: oklch(73.0% 0.165 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcabf7',
    500: '#ca86f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca86f2;
$custom-light: #dcabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86f2",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 277.778,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72989,
    "c": 0.16524,
    "h": 311.9
  },
  "luminance": 0.36018
}

Semantic roles & 50–950 ramp

primary
#CA86F2
secondary
#E2F4D7
accent
#DD0957
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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