#CA9EE4#CA9EE4

#CA9EE4 is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.4% C 0.108 H 312.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CA9EE4
RGBrgb(202, 158, 228)
HSLhsl(278, 56%, 76%)
HSVhsv(278, 31%, 89%)
CMYKcmyk(11.4%, 30.7%, 0%, 10.6%)
CIE-LABlab(71.29, 28.94, -29.17)
CIE-LCHlch(71.29, 41.09, 314.77°)
OKLaboklab(76.39% 0.0732 -0.0799)
OKLCHoklch(76.39% 0.108 312.5)
XYZxyz(50.5852, 42.6124, 78.9439)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EE4 #B8E49E
analogous
#A79EE4 #CA9EE4 #E49EDB
triadic
#CA9EE4 #E4CA9E #9EE4CA
tetradic
#CA9EE4 #E4A79E #B8E49E #9EDBE4
square
#CA9EE4 #E4A79E #B8E49E #9EDBE4
split-complementary
#CA9EE4 #DBE49E #9EE4A7
monochromatic
#963EC9 #B06ED7 #CA9EE4 #E4CEF1 #F2E7F8

Accessibility & contrast

On white

2.21
#CA9EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CA9EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EE4
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EE4#FFFFFF#000000##000000
##CA9EE41.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE7
Deuteranopia (green-blind)
#9CB0E2
Tritanopia (blue-blind)
#C8A7B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9ee4;
/* rgb */ color: rgb(202, 158, 228);
/* oklch */ color: oklch(76.4% 0.108 312.5);
Tailwind
colors: {
  custom: {
    50: '#dbbbec',
    500: '#ca9ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ee4;
$custom-light: #dbbbec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ee4",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 228
  },
  "hsl": {
    "h": 277.714,
    "s": 56.452,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76392,
    "c": 0.10837,
    "h": 312.5
  },
  "luminance": 0.42612
}

Semantic roles & 50–950 ramp

primary
#CA9EE4
secondary
#E3F0DB
accent
#C4215E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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