#CA86FC#CA86FC

#CA86FC is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.5% C 0.177 H 309.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CA86FC
RGBrgb(202, 134, 252)
HSLhsl(275, 95%, 76%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.8%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.00, 47.06, -49.00)
CIE-LCHlch(67.00, 67.94, 313.85°)
OKLaboklab(73.49% 0.1118 -0.1367)
OKLCHoklch(73.49% 0.177 309.3)
XYZxyz(50.4496, 36.6358, 96.4903)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86FC #B8FC86
analogous
#8F86FC #CA86FC #FC86F3
triadic
#CA86FC #FCCA86 #86FCCA
tetradic
#CA86FC #FC8F86 #B8FC86 #86F3FC
square
#CA86FC #FC8F86 #B8FC86 #86F3FC
split-complementary
#CA86FC #F3FC86 #86FC8F
monochromatic
#960FF9 #B04AFB #CA86FC #E4C2FD #F2E1FE

Accessibility & contrast

On white

2.52
#CA86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CA86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86FC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86FC#FFFFFF#000000##000000
##CA86FC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#C499B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca86fc;
/* rgb */ color: rgb(202, 134, 252);
/* oklch */ color: oklch(73.5% 0.177 309.3);
Tailwind
colors: {
  custom: {
    50: '#dcabfe',
    500: '#ca86fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca86fc;
$custom-light: #dcabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86fc",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 274.576,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73492,
    "c": 0.17659,
    "h": 309.3
  },
  "luminance": 0.36635
}

Semantic roles & 50–950 ramp

primary
#CA86FC
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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