#CA86F5#CA86F5

#CA86F5 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.169 H 311.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA86F5
RGBrgb(202, 134, 245)
HSLhsl(277, 85%, 74%)
HSVhsv(277, 45%, 96%)
CMYKcmyk(17.6%, 45.3%, 0%, 3.9%)
CIE-LABlab(66.67, 45.55, -45.68)
CIE-LCHlch(66.67, 64.51, 314.92°)
OKLaboklab(73.14% 0.1108 -0.1271)
OKLCHoklch(73.14% 0.169 311.1)
XYZxyz(49.3607, 36.2002, 90.7555)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA86F5 #B1F586
analogous
#9386F5 #CA86F5 #F586E8
triadic
#CA86F5 #F5CA86 #86F5CA
tetradic
#CA86F5 #F59386 #B1F586 #86E8F5
square
#CA86F5 #F59386 #B1F586 #86E8F5
split-complementary
#CA86F5 #E8F586 #86F593
monochromatic
#9815EC #B14DF0 #CA86F5 #E3BFFA #F3E3FD

Accessibility & contrast

On white

2.55
#CA86F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CA86F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA86F5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA86F5#FFFFFF#000000##000000
##CA86F51.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#7FA4F2
Tritanopia (blue-blind)
#C597B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca86f5;
/* rgb */ color: rgb(202, 134, 245);
/* oklch */ color: oklch(73.1% 0.169 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcabf9',
    500: '#ca86f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca86f5;
$custom-light: #dcabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca86f5",
  "rgb": {
    "r": 202,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 276.757,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73138,
    "c": 0.16863,
    "h": 311.1
  },
  "luminance": 0.36199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA86F5

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

Preview Lab → · Contrast checker → · Palette generator →

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