#CA9DF4#CA9DF4

#CA9DF4 is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.9% C 0.130 H 307.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CA9DF4
RGBrgb(202, 157, 244)
HSLhsl(271, 80%, 79%)
HSVhsv(271, 36%, 96%)
CMYKcmyk(17.2%, 35.7%, 0%, 4.3%)
CIE-LABlab(71.69, 32.89, -37.29)
CIE-LCHlch(71.69, 49.72, 311.41°)
OKLaboklab(76.91% 0.0786 -0.103)
OKLCHoklch(76.91% 0.13 307.3)
XYZxyz(52.7401, 43.2026, 91.1309)
Luminance0.4320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DF4 #C7F49D
analogous
#9E9DF4 #CA9DF4 #F49DF3
triadic
#CA9DF4 #F4CA9D #9DF4CA
tetradic
#CA9DF4 #F49E9D #C7F49D #9DF3F4
square
#CA9DF4 #F49E9D #C7F49D #9DF3F4
split-complementary
#CA9DF4 #F3F49D #9DF49E
monochromatic
#8E2FE8 #AC66EE #CA9DF4 #E8D4FA #F0E3FC

Accessibility & contrast

On white

2.18
#CA9DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#CA9DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DF4
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DF4#FFFFFF#000000##000000
##CA9DF41.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAEF7
Deuteranopia (green-blind)
#95B0F2
Tritanopia (blue-blind)
#C4AABD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9df4;
/* rgb */ color: rgb(202, 157, 244);
/* oklch */ color: oklch(76.9% 0.130 307.3);
Tailwind
colors: {
  custom: {
    50: '#dbbaf8',
    500: '#ca9df4',
    950: '#000000',
  },
}
SCSS
$custom: #ca9df4;
$custom-light: #dbbaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9df4",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 244
  },
  "hsl": {
    "h": 271.034,
    "s": 79.817,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.12954,
    "h": 307.3
  },
  "luminance": 0.43202
}

Semantic roles & 50–950 ramp

primary
#CA9DF4
secondary
#E5F4D7
accent
#DC096F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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