#CA9DCA#CA9DCA

#CA9DCA is a light, moderate purple. Relative luminance 0.409; OKLCH L 75.2% C 0.081 H 326.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CA9DCA
RGBrgb(202, 157, 202)
HSLhsl(300, 30%, 70%)
HSVhsv(300, 22%, 79%)
CMYKcmyk(0%, 22.3%, 0%, 20.8%)
CIE-LABlab(70.13, 24.34, -16.63)
CIE-LCHlch(70.13, 29.48, 325.66°)
OKLaboklab(75.2% 0.0672 -0.0447)
OKLCHoklch(75.2% 0.081 326.3)
XYZxyz(47.0736, 40.9360, 61.2874)
Luminance0.4093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DCA #9DCA9D
analogous
#B39DCA #CA9DCA #CA9DB3
triadic
#CA9DCA #CACA9D #9DCACA
tetradic
#CA9DCA #CAB39D #9DCA9D #9DB3CA
square
#CA9DCA #CAB39D #9DCA9D #9DB3CA
split-complementary
#CA9DCA #B3CA9D #9DCAB3
monochromatic
#9A539A #B575B5 #CA9DCA #DFC5DF #F4EBF4

Accessibility & contrast

On white

2.29
#CA9DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CA9DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DCA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DCA#FFFFFF#000000##000000
##CA9DCA1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA8CC
Deuteranopia (green-blind)
#A4ADC8
Tritanopia (blue-blind)
#CDA1AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca9dca;
/* rgb */ color: rgb(202, 157, 202);
/* oklch */ color: oklch(75.2% 0.081 326.3);
Tailwind
colors: {
  custom: {
    50: '#dabada',
    500: '#ca9dca',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dca;
$custom-light: #dabada;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dca",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 29.801,
    "l": 70.392
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.08071,
    "h": 326.3
  },
  "luminance": 0.40935
}

Semantic roles & 50–950 ramp

primary
#CA9DCA
secondary
#DBE8DB
accent
#A83D3D
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CA9DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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