#CA6AFD#CA6AFD

#CA6AFD is a light, highly saturated violet. Relative luminance 0.300; OKLCH L 69.5% C 0.220 H 312.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CA6AFD
RGBrgb(202, 106, 253)
HSLhsl(279, 97%, 70%)
HSVhsv(279, 58%, 99%)
CMYKcmyk(20.2%, 58.1%, 0%, 0.8%)
CIE-LABlab(61.62, 61.49, -58.09)
CIE-LCHlch(61.62, 84.59, 316.63°)
OKLaboklab(69.54% 0.1478 -0.1631)
OKLCHoklch(69.54% 0.22 312.2)
XYZxyz(47.2376, 29.9576, 96.2035)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6AFD #9DFD6A
analogous
#816AFD #CA6AFD #FD6AE6
triadic
#CA6AFD #FDCA6A #6AFDCA
tetradic
#CA6AFD #FD816A #9DFD6A #6AE6FD
square
#CA6AFD #FD816A #9DFD6A #6AE6FD
split-complementary
#CA6AFD #E6FD6A #6AFD81
monochromatic
#9A03E9 #B52EFC #CA6AFD #DFA6FE #F4E1FF

Accessibility & contrast

On white

3.00
#CA6AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CA6AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6AFD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6AFD#FFFFFF#000000##000000
##CA6AFD1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#C485AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6afd;
/* rgb */ color: rgb(202, 106, 253);
/* oklch */ color: oklch(69.5% 0.220 312.2);
Tailwind
colors: {
  custom: {
    50: '#dd99ff',
    500: '#ca6afd',
    950: '#000000',
  },
}
SCSS
$custom: #ca6afd;
$custom-light: #dd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6afd",
  "rgb": {
    "r": 202,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 279.184,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.2201,
    "h": 312.2
  },
  "luminance": 0.29956
}

Semantic roles & 50–950 ramp

primary
#CA6AFD
secondary
#DBF6CD
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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