#CA9EE3#CA9EE3

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

Color values

HEX#CA9EE3
RGBrgb(202, 158, 227)
HSLhsl(278, 55%, 75%)
HSVhsv(278, 30%, 89%)
CMYKcmyk(11%, 30.4%, 0%, 11%)
CIE-LABlab(71.25, 28.73, -28.68)
CIE-LCHlch(71.25, 40.60, 315.05°)
OKLaboklab(76.35% 0.073 -0.0785)
OKLCHoklch(76.35% 0.107 312.9)
XYZxyz(50.4468, 42.5571, 78.2150)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EE3 #B7E39E
analogous
#A79EE3 #CA9EE3 #E39ED9
triadic
#CA9EE3 #E3CA9E #9EE3CA
tetradic
#CA9EE3 #E3A79E #B7E39E #9ED9E3
square
#CA9EE3 #E3A79E #B7E39E #9ED9E3
split-complementary
#CA9EE3 #D9E39E #9EE3A7
monochromatic
#963FC8 #B06FD5 #CA9EE3 #E4CDF1 #F2E7F8

Accessibility & contrast

On white

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

On black

9.51
#CA9EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EE3
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EE3#FFFFFF#000000##000000
##CA9EE31.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE6
Deuteranopia (green-blind)
#9DB0E1
Tritanopia (blue-blind)
#C8A7B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9ee3;
/* rgb */ color: rgb(202, 158, 227);
/* oklch */ color: oklch(76.4% 0.107 312.9);
Tailwind
colors: {
  custom: {
    50: '#dbbbec',
    500: '#ca9ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ee3;
$custom-light: #dbbbec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ee3",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 227
  },
  "hsl": {
    "h": 278.261,
    "s": 55.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76351,
    "c": 0.10717,
    "h": 312.9
  },
  "luminance": 0.42556
}

Semantic roles & 50–950 ramp

primary
#CA9EE3
secondary
#E3EFDC
accent
#C3235D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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