#CA8DCA#CA8DCA

#CA8DCA is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.4% C 0.110 H 326.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CA8DCA
RGBrgb(202, 141, 202)
HSLhsl(300, 37%, 67%)
HSVhsv(300, 30%, 79%)
CMYKcmyk(0%, 30.2%, 0%, 20.8%)
CIE-LABlab(66.42, 33.10, -22.26)
CIE-LCHlch(66.42, 39.89, 326.08°)
OKLaboklab(72.36% 0.0916 -0.0603)
OKLCHoklch(72.36% 0.11 326.6)
XYZxyz(44.5417, 35.8721, 60.4434)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DCA #8DCA8D
analogous
#AC8DCA #CA8DCA #CA8DAC
triadic
#CA8DCA #CACA8D #8DCACA
tetradic
#CA8DCA #CAAC8D #8DCA8D #8DACCA
square
#CA8DCA #CAAC8D #8DCA8D #8DACCA
split-complementary
#CA8DCA #ACCA8D #8DCAAC
monochromatic
#974697 #B763B7 #CA8DCA #DDB7DD #F1E1F1

Accessibility & contrast

On white

2.57
#CA8DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CA8DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DCA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DCA#FFFFFF#000000##000000
##CA8DCA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCC
Deuteranopia (green-blind)
#97A4C8
Tritanopia (blue-blind)
#CE92A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8dca;
/* rgb */ color: rgb(202, 141, 202);
/* oklch */ color: oklch(72.4% 0.110 326.6);
Tailwind
colors: {
  custom: {
    50: '#dbafda',
    500: '#ca8dca',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dca;
$custom-light: #dbafda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dca",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.10961,
    "h": 326.6
  },
  "luminance": 0.35871
}

Semantic roles & 50–950 ramp

primary
#CA8DCA
secondary
#D0E3D0
accent
#AF3636
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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