#CA9DFF#CA9DFF

#CA9DFF is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.4% C 0.143 H 304.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CA9DFF
RGBrgb(202, 157, 255)
HSLhsl(268, 100%, 81%)
HSVhsv(268, 38%, 100%)
CMYKcmyk(20.8%, 38.4%, 0%, 0%)
CIE-LABlab(72.16, 35.31, -42.54)
CIE-LCHlch(72.16, 55.28, 309.69°)
OKLaboklab(77.41% 0.0809 -0.1181)
OKLCHoklch(77.41% 0.143 304.4)
XYZxyz(54.4604, 43.8907, 100.1910)
Luminance0.4389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DFF #D2FF9D
analogous
#9DA1FF #CA9DFF #FB9DFF
triadic
#CA9DFF #FFCA9D #9DFFCA
tetradic
#CA9DFF #FF9DA1 #D2FF9D #9DFFFB
square
#CA9DFF #FF9DA1 #D2FF9D #9DFFFB
split-complementary
#CA9DFF #FFFB9D #A1FF9D
monochromatic
#8823FF #A960FF #CA9DFF #EBDAFF #EEE0FF

Accessibility & contrast

On white

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

On black

9.78
#CA9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DFF
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DFF#FFFFFF#000000##000000
##CA9DFF1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86B0FF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#C2ACC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9dff;
/* rgb */ color: rgb(202, 157, 255);
/* oklch */ color: oklch(77.4% 0.143 304.4);
Tailwind
colors: {
  custom: {
    50: '#dbbaff',
    500: '#ca9dff',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dff;
$custom-light: #dbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dff",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 267.551,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77409,
    "c": 0.14313,
    "h": 304.4
  },
  "luminance": 0.4389
}

Semantic roles & 50–950 ramp

primary
#CA9DFF
secondary
#E7F7D4
accent
#E6007C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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