#CA86FE#CA86FE

#CA86FE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.179 H 308.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CA86FE
RGBrgb(202, 134, 254)
HSLhsl(274, 98%, 76%)
HSVhsv(274, 47%, 100%)
CMYKcmyk(20.5%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.10, 47.50, -49.94)
CIE-LCHlch(67.10, 68.92, 313.57°)
OKLaboklab(73.6% 0.112 -0.1394)
OKLCHoklch(73.6% 0.179 308.8)
XYZxyz(50.7682, 36.7632, 98.1682)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86FE #BAFE86
analogous
#8E86FE #CA86FE #FE86F6
triadic
#CA86FE #FECA86 #86FECA
tetradic
#CA86FE #FE8E86 #BAFE86 #86F6FE
square
#CA86FE #FE8E86 #BAFE86 #86F6FE
split-complementary
#CA86FE #F6FE86 #86FE8E
monochromatic
#950DFD #AF49FD #CA86FE #E5C3FF #F2E1FF

Accessibility & contrast

On white

2.51
#CA86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CA86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86FE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86FE#FFFFFF#000000##000000
##CA86FE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#C39AB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca86fe;
/* rgb */ color: rgb(202, 134, 254);
/* oklch */ color: oklch(73.6% 0.179 308.8);
Tailwind
colors: {
  custom: {
    50: '#dcabff',
    500: '#ca86fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca86fe;
$custom-light: #dcabff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86fe",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 274,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.17888,
    "h": 308.8
  },
  "luminance": 0.36763
}

Semantic roles & 50–950 ramp

primary
#CA86FE
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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