#CA86F7#CA86F7

#CA86F7 is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.2% C 0.171 H 310.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CA86F7
RGBrgb(202, 134, 247)
HSLhsl(276, 88%, 75%)
HSVhsv(276, 46%, 97%)
CMYKcmyk(18.2%, 45.7%, 0%, 3.1%)
CIE-LABlab(66.77, 45.98, -46.63)
CIE-LCHlch(66.77, 65.49, 314.60°)
OKLaboklab(73.24% 0.1111 -0.1298)
OKLCHoklch(73.24% 0.171 310.6)
XYZxyz(49.6677, 36.3230, 92.3722)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86F7 #B3F786
analogous
#9286F7 #CA86F7 #F786EC
triadic
#CA86F7 #F7CA86 #86F7CA
tetradic
#CA86F7 #F79286 #B3F786 #86ECF7
square
#CA86F7 #F79286 #B3F786 #86ECF7
split-complementary
#CA86F7 #ECF786 #86F792
monochromatic
#9813EF #B14DF3 #CA86F7 #E3BFFB #F2E2FD

Accessibility & contrast

On white

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

On black

8.26
#CA86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86F7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86F7#FFFFFF#000000##000000
##CA86F71.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#C598B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca86f7;
/* rgb */ color: rgb(202, 134, 247);
/* oklch */ color: oklch(73.2% 0.171 310.6);
Tailwind
colors: {
  custom: {
    50: '#dcabfa',
    500: '#ca86f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca86f7;
$custom-light: #dcabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86f7",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 276.106,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.1709,
    "h": 310.6
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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