#CA9AEB#CA9AEB

#CA9AEB is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.0% C 0.124 H 310.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CA9AEB
RGBrgb(202, 154, 235)
HSLhsl(276, 67%, 76%)
HSVhsv(276, 34%, 92%)
CMYKcmyk(14%, 34.5%, 0%, 7.8%)
CIE-LABlab(70.64, 32.60, -34.01)
CIE-LCHlch(70.64, 47.11, 313.79°)
OKLaboklab(75.99% 0.0808 -0.0936)
OKLCHoklch(75.99% 0.124 310.8)
XYZxyz(50.9055, 41.6666, 83.9419)
Luminance0.4167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AEB #BBEB9A
analogous
#A29AEB #CA9AEB #EB9AE3
triadic
#CA9AEB #EBCA9A #9AEBCA
tetradic
#CA9AEB #EBA29A #BBEB9A #9AE3EB
square
#CA9AEB #EBA29A #BBEB9A #9AE3EB
split-complementary
#CA9AEB #E3EB9A #9AEBA2
monochromatic
#9434D7 #AF67E1 #CA9AEB #E5CDF5 #F2E5FA

Accessibility & contrast

On white

2.25
#CA9AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CA9AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AEB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AEB#FFFFFF#000000##000000
##CA9AEB1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#C7A5B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9aeb;
/* rgb */ color: rgb(202, 154, 235);
/* oklch */ color: oklch(76.0% 0.124 310.8);
Tailwind
colors: {
  custom: {
    50: '#dbb8f1',
    500: '#ca9aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9aeb;
$custom-light: #dbb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9aeb",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 275.556,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.12364,
    "h": 310.8
  },
  "luminance": 0.41666
}

Semantic roles & 50–950 ramp

primary
#CA9AEB
secondary
#E3F1DA
accent
#CF1762
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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