#CA9DFD#CA9DFD

#CA9DFD is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.141 H 304.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CA9DFD
RGBrgb(202, 157, 253)
HSLhsl(268, 96%, 80%)
HSVhsv(268, 38%, 99%)
CMYKcmyk(20.2%, 37.9%, 0%, 0.8%)
CIE-LABlab(72.07, 34.86, -41.59)
CIE-LCHlch(72.07, 54.27, 309.97°)
OKLaboklab(77.32% 0.0805 -0.1154)
OKLCHoklch(77.32% 0.141 304.9)
XYZxyz(54.1401, 43.7626, 98.5043)
Luminance0.4376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DFD #D0FD9D
analogous
#9DA0FD #CA9DFD #FA9DFD
triadic
#CA9DFD #FDCA9D #9DFDCA
tetradic
#CA9DFD #FD9DA0 #D0FD9D #9DFDFA
square
#CA9DFD #FD9DA0 #D0FD9D #9DFDFA
split-complementary
#CA9DFD #FDFA9D #A0FD9D
monochromatic
#8925FB #AA61FC #CA9DFD #EAD9FE #EFE1FE

Accessibility & contrast

On white

2.15
#CA9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CA9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DFD
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DFD#FFFFFF#000000##000000
##CA9DFD1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#C2ACC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9dfd;
/* rgb */ color: rgb(202, 157, 253);
/* oklch */ color: oklch(77.3% 0.141 304.9);
Tailwind
colors: {
  custom: {
    50: '#dbbafe',
    500: '#ca9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dfd;
$custom-light: #dbbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dfd",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 268.125,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77316,
    "c": 0.14066,
    "h": 304.9
  },
  "luminance": 0.43762
}

Semantic roles & 50–950 ramp

primary
#CA9DFD
secondary
#E7F7D4
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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