#CA9AEE#CA9AEE

#CA9AEE is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.1% C 0.127 H 309.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CA9AEE
RGBrgb(202, 154, 238)
HSLhsl(274, 71%, 77%)
HSVhsv(274, 35%, 93%)
CMYKcmyk(15.1%, 35.3%, 0%, 6.7%)
CIE-LABlab(70.76, 33.24, -35.46)
CIE-LCHlch(70.76, 48.60, 313.15°)
OKLaboklab(76.12% 0.0815 -0.0978)
OKLCHoklch(76.12% 0.127 309.8)
XYZxyz(51.3426, 41.8414, 86.2438)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AEE #BEEE9A
analogous
#A09AEE #CA9AEE #EE9AE8
triadic
#CA9AEE #EECA9A #9AEECA
tetradic
#CA9AEE #EEA09A #BEEE9A #9AE8EE
square
#CA9AEE #EEA09A #BEEE9A #9AE8EE
split-complementary
#CA9AEE #E8EE9A #9AEEA0
monochromatic
#9331DC #AF66E5 #CA9AEE #E5CEF7 #F1E5FB

Accessibility & contrast

On white

2.24
#CA9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#CA9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AEE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AEE#FFFFFF#000000##000000
##CA9AEE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF1
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#C6A6B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9aee;
/* rgb */ color: rgb(202, 154, 238);
/* oklch */ color: oklch(76.1% 0.127 309.8);
Tailwind
colors: {
  custom: {
    50: '#dbb8f4',
    500: '#ca9aee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9aee;
$custom-light: #dbb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9aee",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 274.286,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.12725,
    "h": 309.8
  },
  "luminance": 0.41841
}

Semantic roles & 50–950 ramp

primary
#CA9AEE
secondary
#E4F2D9
accent
#D31265
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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