#CA86FD#CA86FD

#CA86FD is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.178 H 309.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CA86FD
RGBrgb(202, 134, 253)
HSLhsl(274, 97%, 76%)
HSVhsv(274, 47%, 99%)
CMYKcmyk(20.2%, 47%, 0%, 0.8%)
CIE-LABlab(67.05, 47.28, -49.47)
CIE-LCHlch(67.05, 68.43, 313.71°)
OKLaboklab(73.54% 0.1119 -0.1381)
OKLCHoklch(73.54% 0.178 309)
XYZxyz(50.6085, 36.6993, 97.3271)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86FD #B9FD86
analogous
#8E86FD #CA86FD #FD86F4
triadic
#CA86FD #FDCA86 #86FDCA
tetradic
#CA86FD #FD8E86 #B9FD86 #86F4FD
square
#CA86FD #FD8E86 #B9FD86 #86F4FD
split-complementary
#CA86FD #F4FD86 #86FD8E
monochromatic
#950EFB #B04AFC #CA86FD #E4C2FE #F2E1FF

Accessibility & contrast

On white

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

On black

8.34
#CA86FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86FD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86FD#FFFFFF#000000##000000
##CA86FD1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca86fd;
/* rgb */ color: rgb(202, 134, 253);
/* oklch */ color: oklch(73.5% 0.178 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcabfe',
    500: '#ca86fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca86fd;
$custom-light: #dcabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86fd",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 274.286,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73543,
    "c": 0.17773,
    "h": 309
  },
  "luminance": 0.36699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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