#CA86FB#CA86FB

#CA86FB is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.4% C 0.175 H 309.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CA86FB
RGBrgb(202, 134, 251)
HSLhsl(275, 94%, 75%)
HSVhsv(275, 47%, 98%)
CMYKcmyk(19.5%, 46.6%, 0%, 1.6%)
CIE-LABlab(66.96, 46.85, -48.52)
CIE-LCHlch(66.96, 67.45, 313.99°)
OKLaboklab(73.44% 0.1117 -0.1353)
OKLCHoklch(73.44% 0.175 309.5)
XYZxyz(50.2915, 36.5725, 95.6579)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86FB #B7FB86
analogous
#8F86FB #CA86FB #FB86F1
triadic
#CA86FB #FBCA86 #86FBCA
tetradic
#CA86FB #FB8F86 #B7FB86 #86F1FB
square
#CA86FB #FB8F86 #B7FB86 #86F1FB
split-complementary
#CA86FB #F1FB86 #86FB8F
monochromatic
#9610F7 #B04BF9 #CA86FB #E4C1FD #F2E1FE

Accessibility & contrast

On white

2.53
#CA86FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CA86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86FB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86FB#FFFFFF#000000##000000
##CA86FB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#C499B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca86fb;
/* rgb */ color: rgb(202, 134, 251);
/* oklch */ color: oklch(73.4% 0.175 309.5);
Tailwind
colors: {
  custom: {
    50: '#dcabfd',
    500: '#ca86fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca86fb;
$custom-light: #dcabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86fb",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 274.872,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73441,
    "c": 0.17545,
    "h": 309.5
  },
  "luminance": 0.36572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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