#CA9AFD#CA9AFD

#CA9AFD is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.8% C 0.146 H 305.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CA9AFD
RGBrgb(202, 154, 253)
HSLhsl(269, 96%, 80%)
HSVhsv(269, 39%, 99%)
CMYKcmyk(20.2%, 39.1%, 0%, 0.8%)
CIE-LABlab(71.39, 36.50, -42.65)
CIE-LCHlch(71.39, 56.14, 310.56°)
OKLaboklab(76.8% 0.0846 -0.1184)
OKLCHoklch(76.8% 0.146 305.6)
XYZxyz(53.6388, 42.7599, 98.3372)
Luminance0.4276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AFD #CDFD9A
analogous
#9A9BFD #CA9AFD #FC9AFD
triadic
#CA9AFD #FDCA9A #9AFDCA
tetradic
#CA9AFD #FD9A9B #CDFD9A #9AFDFC
square
#CA9AFD #FD9A9B #CDFD9A #9AFDFC
split-complementary
#CA9AFD #FDFC9A #9BFD9A
monochromatic
#8B22FB #AB5EFC #CA9AFD #E9D6FE #EFE1FE

Accessibility & contrast

On white

2.20
#CA9AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CA9AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AFD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AFD#FFFFFF#000000##000000
##CA9AFD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#C2AAC0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9afd;
/* rgb */ color: rgb(202, 154, 253);
/* oklch */ color: oklch(76.8% 0.146 305.6);
Tailwind
colors: {
  custom: {
    50: '#dbb8fe',
    500: '#ca9afd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9afd;
$custom-light: #dbb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9afd",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 253
  },
  "hsl": {
    "h": 269.091,
    "s": 96.117,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76803,
    "c": 0.14554,
    "h": 305.6
  },
  "luminance": 0.4276
}

Semantic roles & 50–950 ramp

primary
#CA9AFD
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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