#CA8ACC#CA8ACC

#CA8ACC is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.9% C 0.117 H 325.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CA8ACC
RGBrgb(202, 138, 204)
HSLhsl(298, 39%, 67%)
HSVhsv(298, 32%, 80%)
CMYKcmyk(1%, 32.4%, 0%, 20%)
CIE-LABlab(65.82, 35.11, -24.30)
CIE-LCHlch(65.82, 42.70, 325.32°)
OKLaboklab(71.93% 0.0966 -0.066)
OKLCHoklch(71.93% 0.117 325.7)
XYZxyz(44.3436, 35.0947, 61.5531)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8ACC #8CCC8A
analogous
#A98ACC #CA8ACC #CC8AAD
triadic
#CA8ACC #CCCA8A #8ACCCA
tetradic
#CA8ACC #CCA98A #8CCC8A #8AADCC
square
#CA8ACC #CCA98A #8CCC8A #8AADCC
split-complementary
#CA8ACC #ADCC8A #8ACCA9
monochromatic
#964399 #B75FB9 #CA8ACC #DDB5DF #F1DFF1

Accessibility & contrast

On white

2.62
#CA8ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CA8ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8ACC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8ACC#FFFFFF#000000##000000
##CA8ACC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCF
Deuteranopia (green-blind)
#94A3CA
Tritanopia (blue-blind)
#CE90A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8acc;
/* rgb */ color: rgb(202, 138, 204);
/* oklch */ color: oklch(71.9% 0.117 325.7);
Tailwind
colors: {
  custom: {
    50: '#dbaddb',
    500: '#ca8acc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8acc;
$custom-light: #dbaddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8acc",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 204
  },
  "hsl": {
    "h": 298.182,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71934,
    "c": 0.117,
    "h": 325.7
  },
  "luminance": 0.35093
}

Semantic roles & 50–950 ramp

primary
#CA8ACC
secondary
#CFE3CE
accent
#B23337
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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