#CA9AEC#CA9AEC

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

Color values

HEX#CA9AEC
RGBrgb(202, 154, 236)
HSLhsl(275, 68%, 76%)
HSVhsv(275, 35%, 93%)
CMYKcmyk(14.4%, 34.7%, 0%, 7.5%)
CIE-LABlab(70.68, 32.81, -34.49)
CIE-LCHlch(70.68, 47.61, 313.57°)
OKLaboklab(76.03% 0.081 -0.095)
OKLCHoklch(76.03% 0.125 310.5)
XYZxyz(51.0504, 41.7246, 84.7049)
Luminance0.4172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AEC #BCEC9A
analogous
#A19AEC #CA9AEC #EC9AE5
triadic
#CA9AEC #ECCA9A #9AECCA
tetradic
#CA9AEC #ECA19A #BCEC9A #9AE5EC
square
#CA9AEC #ECA19A #BCEC9A #9AE5EC
split-complementary
#CA9AEC #E5EC9A #9AECA1
monochromatic
#9433D9 #AF66E2 #CA9AEC #E5CEF6 #F1E5FA

Accessibility & contrast

On white

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

On black

9.34
#CA9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AEC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AEC#FFFFFF#000000##000000
##CA9AEC1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#C6A5B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9aec;
/* rgb */ color: rgb(202, 154, 236);
/* oklch */ color: oklch(76.0% 0.125 310.5);
Tailwind
colors: {
  custom: {
    50: '#dbb8f2',
    500: '#ca9aec',
    950: '#000000',
  },
}
SCSS
$custom: #ca9aec;
$custom-light: #dbb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9aec",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 275.122,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7603,
    "c": 0.12484,
    "h": 310.5
  },
  "luminance": 0.41724
}

Semantic roles & 50–950 ramp

primary
#CA9AEC
secondary
#E3F2D9
accent
#D01563
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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