#CA9EF5#CA9EF5

#CA9EF5 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.1% C 0.129 H 306.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CA9EF5
RGBrgb(202, 158, 245)
HSLhsl(270, 81%, 79%)
HSVhsv(270, 36%, 96%)
CMYKcmyk(17.6%, 35.5%, 0%, 3.9%)
CIE-LABlab(71.96, 32.56, -37.41)
CIE-LCHlch(71.96, 49.59, 311.03°)
OKLaboklab(77.12% 0.0774 -0.1034)
OKLCHoklch(77.12% 0.129 306.8)
XYZxyz(53.0622, 43.6032, 91.9894)
Luminance0.4360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EF5 #C9F59E
analogous
#9F9EF5 #CA9EF5 #F59EF4
triadic
#CA9EF5 #F5CA9E #9EF5CA
tetradic
#CA9EF5 #F59F9E #C9F59E #9EF4F5
square
#CA9EF5 #F59F9E #C9F59E #9EF4F5
split-complementary
#CA9EF5 #F4F59E #9EF59F
monochromatic
#8D2FEA #AC67EF #CA9EF5 #E8D5FB #F0E3FC

Accessibility & contrast

On white

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

On black

9.72
#CA9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EF5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EF5#FFFFFF#000000##000000
##CA9EF51.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFF8
Deuteranopia (green-blind)
#96B1F3
Tritanopia (blue-blind)
#C4ABBE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9ef5;
/* rgb */ color: rgb(202, 158, 245);
/* oklch */ color: oklch(77.1% 0.129 306.8);
Tailwind
colors: {
  custom: {
    50: '#dbbbf8',
    500: '#ca9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ef5;
$custom-light: #dbbbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ef5",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 270.345,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.12911,
    "h": 306.8
  },
  "luminance": 0.43603
}

Semantic roles & 50–950 ramp

primary
#CA9EF5
secondary
#E5F4D7
accent
#DE0872
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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