#CA8CC2#CA8CC2

#CA8CC2 is a light, moderate purple. Relative luminance 0.352; OKLCH L 71.9% C 0.104 H 331.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CA8CC2
RGBrgb(202, 140, 194)
HSLhsl(308, 37%, 67%)
HSVhsv(308, 31%, 79%)
CMYKcmyk(0%, 30.7%, 4%, 20.8%)
CIE-LABlab(65.91, 32.17, -18.57)
CIE-LCHlch(65.91, 37.14, 330.01°)
OKLaboklab(71.88% 0.0908 -0.05)
OKLCHoklch(71.88% 0.104 331.2)
XYZxyz(43.4721, 35.2095, 55.5347)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CC2 #8CCA94
analogous
#B38CCA #CA8CC2 #CA8CA3
triadic
#CA8CC2 #C2CA8C #8CC2CA
tetradic
#CA8CC2 #CAB38C #8CCA94 #8CA3CA
square
#CA8CC2 #CAB38C #8CCA94 #8CA3CA
split-complementary
#CA8CC2 #A3CA8C #8CCAB3
monochromatic
#96458C #B762AC #CA8CC2 #DDB6D8 #F1E0EE

Accessibility & contrast

On white

2.61
#CA8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CA8CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CC2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CC2#FFFFFF#000000##000000
##CA8CC21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC4
Deuteranopia (green-blind)
#99A3C0
Tritanopia (blue-blind)
#CF909F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8cc2;
/* rgb */ color: rgb(202, 140, 194);
/* oklch */ color: oklch(71.9% 0.104 331.2);
Tailwind
colors: {
  custom: {
    50: '#dbaed4',
    500: '#ca8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cc2;
$custom-light: #dbaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cc2",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 307.742,
    "s": 36.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.10362,
    "h": 331.2
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#CA8CC2
secondary
#CFE3D2
accent
#B04536
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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