#CA9AEF#CA9AEF

#CA9AEF is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.2% C 0.128 H 309.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CA9AEF
RGBrgb(202, 154, 239)
HSLhsl(274, 73%, 77%)
HSVhsv(274, 36%, 94%)
CMYKcmyk(15.5%, 35.6%, 0%, 6.3%)
CIE-LABlab(70.80, 33.45, -35.94)
CIE-LCHlch(70.80, 49.10, 312.94°)
OKLaboklab(76.16% 0.0817 -0.0991)
OKLCHoklch(76.16% 0.128 309.5)
XYZxyz(51.4899, 41.9004, 87.0197)
Luminance0.4190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AEF #BFEF9A
analogous
#A09AEF #CA9AEF #EF9AEA
triadic
#CA9AEF #EFCA9A #9AEFCA
tetradic
#CA9AEF #EFA09A #BFEF9A #9AEAEF
square
#CA9AEF #EFA09A #BFEF9A #9AEAEF
split-complementary
#CA9AEF #EAEF9A #9AEFA0
monochromatic
#9330DE #AE65E7 #CA9AEF #E6CFF7 #F1E5FB

Accessibility & contrast

On white

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

On black

9.38
#CA9AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AEF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AEF#FFFFFF#000000##000000
##CA9AEF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#C6A6BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9aef;
/* rgb */ color: rgb(202, 154, 239);
/* oklch */ color: oklch(76.2% 0.128 309.5);
Tailwind
colors: {
  custom: {
    50: '#dbb8f4',
    500: '#ca9aef',
    950: '#000000',
  },
}
SCSS
$custom: #ca9aef;
$custom-light: #dbb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9aef",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 273.882,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76162,
    "c": 0.12846,
    "h": 309.5
  },
  "luminance": 0.419
}

Semantic roles & 50–950 ramp

primary
#CA9AEF
secondary
#E4F2D9
accent
#D51166
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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