#CA9AFE#CA9AFE

#CA9AFE is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.8% C 0.147 H 305.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CA9AFE
RGBrgb(202, 154, 254)
HSLhsl(269, 98%, 80%)
HSVhsv(269, 39%, 100%)
CMYKcmyk(20.5%, 39.4%, 0%, 0.4%)
CIE-LABlab(71.44, 36.72, -43.12)
CIE-LCHlch(71.44, 56.64, 310.42°)
OKLaboklab(76.85% 0.0848 -0.1198)
OKLCHoklch(76.85% 0.147 305.3)
XYZxyz(53.7985, 42.8238, 99.1783)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9AFE #CEFE9A
analogous
#9A9CFE #CA9AFE #FC9AFE
triadic
#CA9AFE #FECA9A #9AFECA
tetradic
#CA9AFE #FE9A9C #CEFE9A #9AFEFC
square
#CA9AFE #FE9A9C #CEFE9A #9AFEFC
split-complementary
#CA9AFE #FEFC9A #9CFE9A
monochromatic
#8A21FD #AA5DFD #CA9AFE #EAD7FF #EFE1FF

Accessibility & contrast

On white

2.20
#CA9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CA9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9AFE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9AFE#FFFFFF#000000##000000
##CA9AFE1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#8EAFFB
Tritanopia (blue-blind)
#C2AAC0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9afe;
/* rgb */ color: rgb(202, 154, 254);
/* oklch */ color: oklch(76.8% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#dbb8ff',
    500: '#ca9afe',
    950: '#000000',
  },
}
SCSS
$custom: #ca9afe;
$custom-light: #dbb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9afe",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 268.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.7685,
    "c": 0.14677,
    "h": 305.3
  },
  "luminance": 0.42824
}

Semantic roles & 50–950 ramp

primary
#CA9AFE
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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