#CA86F8#CA86F8

#CA86F8 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.3% C 0.172 H 310.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CA86F8
RGBrgb(202, 134, 248)
HSLhsl(276, 89%, 75%)
HSVhsv(276, 46%, 97%)
CMYKcmyk(18.5%, 46%, 0%, 2.7%)
CIE-LABlab(66.81, 46.20, -47.11)
CIE-LCHlch(66.81, 65.98, 314.44°)
OKLaboklab(73.29% 0.1113 -0.1312)
OKLCHoklch(73.29% 0.172 310.3)
XYZxyz(49.8224, 36.3849, 93.1871)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86F8 #B4F886
analogous
#9186F8 #CA86F8 #F886ED
triadic
#CA86F8 #F8CA86 #86F8CA
tetradic
#CA86F8 #F89186 #B4F886 #86EDF8
square
#CA86F8 #F89186 #B4F886 #86EDF8
split-complementary
#CA86F8 #EDF886 #86F891
monochromatic
#9712F1 #B14CF5 #CA86F8 #E3C0FB #F2E2FD

Accessibility & contrast

On white

2.54
#CA86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CA86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86F8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86F8#FFFFFF#000000##000000
##CA86F81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#C598B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca86f8;
/* rgb */ color: rgb(202, 134, 248);
/* oklch */ color: oklch(73.3% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#dcabfb',
    500: '#ca86f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca86f8;
$custom-light: #dcabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86f8",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 275.789,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.17204,
    "h": 310.3
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#CA86F8
secondary
#E2F5D6
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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