#CA9DF9#CA9DF9

#CA9DF9 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.136 H 305.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CA9DF9
RGBrgb(202, 157, 249)
HSLhsl(269, 88%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(18.9%, 36.9%, 0%, 2.4%)
CIE-LABlab(71.90, 33.98, -39.68)
CIE-LCHlch(71.90, 52.24, 310.57°)
OKLaboklab(77.13% 0.0796 -0.1099)
OKLCHoklch(77.13% 0.136 305.9)
XYZxyz(53.5096, 43.5104, 95.1835)
Luminance0.4351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DF9 #CCF99D
analogous
#9D9EF9 #CA9DF9 #F89DF9
triadic
#CA9DF9 #F9CA9D #9DF9CA
tetradic
#CA9DF9 #F99D9E #CCF99D #9DF9F8
square
#CA9DF9 #F99D9E #CCF99D #9DF9F8
split-complementary
#CA9DF9 #F9F89D #9EF99D
monochromatic
#8C2AF2 #AB63F5 #CA9DF9 #E9D7FD #EFE2FD

Accessibility & contrast

On white

2.16
#CA9DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#CA9DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DF9
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DF9#FFFFFF#000000##000000
##CA9DF91.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFD
Deuteranopia (green-blind)
#93B1F6
Tritanopia (blue-blind)
#C3ABBF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9df9;
/* rgb */ color: rgb(202, 157, 249);
/* oklch */ color: oklch(77.1% 0.136 305.9);
Tailwind
colors: {
  custom: {
    50: '#dbbafb',
    500: '#ca9df9',
    950: '#000000',
  },
}
SCSS
$custom: #ca9df9;
$custom-light: #dbbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9df9",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 269.348,
    "s": 88.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77132,
    "c": 0.13571,
    "h": 305.9
  },
  "luminance": 0.4351
}

Semantic roles & 50–950 ramp

primary
#CA9DF9
secondary
#E6F5D6
accent
#E50075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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