#CA9FFD#CA9FFD

#CA9FFD is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.137 H 304.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFD
RGBrgb(202, 159, 253)
HSLhsl(267, 96%, 81%)
HSVhsv(267, 37%, 99%)
CMYKcmyk(20.2%, 37.2%, 0%, 0.8%)
CIE-LABlab(72.52, 33.77, -40.88)
CIE-LCHlch(72.52, 53.02, 309.56°)
OKLaboklab(77.66% 0.0777 -0.1133)
OKLCHoklch(77.66% 0.137 304.4)
XYZxyz(54.4812, 44.4449, 98.6180)
Luminance0.4445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFD #D2FD9F
analogous
#9FA3FD #CA9FFD #F99FFD
triadic
#CA9FFD #FDCA9F #9FFDCA
tetradic
#CA9FFD #FD9FA3 #D2FD9F #9FFDF9
square
#CA9FFD #FD9FA3 #D2FD9F #9FFDF9
split-complementary
#CA9FFD #FDF99F #A3FD9F
monochromatic
#8827FB #A963FC #CA9FFD #EBDBFE #EEE1FE

Accessibility & contrast

On white

2.12
#CA9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CA9FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFD#FFFFFF#000000##000000
##CA9FFD1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#C2AEC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ca9ffd;
/* rgb */ color: rgb(202, 159, 253);
/* oklch */ color: oklch(77.7% 0.137 304.4);
Tailwind
colors: {
  custom: {
    50: '#dbbcfe',
    500: '#ca9ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ffd;
$custom-light: #dbbcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ffd",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 267.447,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77661,
    "c": 0.1374,
    "h": 304.4
  },
  "luminance": 0.44445
}

Semantic roles & 50–950 ramp

primary
#CA9FFD
secondary
#E7F7D4
accent
#E6007D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CA9FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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