#CA8CCC#CA8CCC

#CA8CCC is a light, moderate purple. Relative luminance 0.357; OKLCH L 72.3% C 0.113 H 325.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CA8CCC
RGBrgb(202, 140, 204)
HSLhsl(298, 39%, 67%)
HSVhsv(298, 31%, 80%)
CMYKcmyk(1%, 31.4%, 0%, 20%)
CIE-LABlab(66.27, 34.02, -23.61)
CIE-LCHlch(66.27, 41.42, 325.24°)
OKLaboklab(72.27% 0.0936 -0.0641)
OKLCHoklch(72.27% 0.113 325.6)
XYZxyz(44.6332, 35.6739, 61.6497)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CCC #8ECC8C
analogous
#AA8CCC #CA8CCC #CC8CAE
triadic
#CA8CCC #CCCA8C #8CCCCA
tetradic
#CA8CCC #CCAA8C #8ECC8C #8CAECC
square
#CA8CCC #CCAA8C #8ECC8C #8CAECC
split-complementary
#CA8CCC #AECC8C #8CCCAA
monochromatic
#97449A #B662B9 #CA8CCC #DEB6DF #F1E1F2

Accessibility & contrast

On white

2.58
#CA8CCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CA8CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CCC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CCC#FFFFFF#000000##000000
##CA8CCC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCE
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#CD92A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8ccc;
/* rgb */ color: rgb(202, 140, 204);
/* oklch */ color: oklch(72.3% 0.113 325.6);
Tailwind
colors: {
  custom: {
    50: '#dbaedb',
    500: '#ca8ccc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ccc;
$custom-light: #dbaedb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ccc",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 298.125,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.11343,
    "h": 325.6
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#CA8CCC
secondary
#D1E4D0
accent
#B23438
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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