#CA8EC4#CA8EC4

#CA8EC4 is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.3% C 0.102 H 330.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CA8EC4
RGBrgb(202, 142, 196)
HSLhsl(306, 36%, 67%)
HSVhsv(306, 30%, 79%)
CMYKcmyk(0%, 29.7%, 3%, 20.8%)
CIE-LABlab(66.44, 31.44, -18.89)
CIE-LCHlch(66.44, 36.68, 329.00°)
OKLaboklab(72.3% 0.0883 -0.0509)
OKLCHoklch(72.3% 0.102 330)
XYZxyz(43.9932, 35.8897, 56.8239)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EC4 #8ECA94
analogous
#B28ECA #CA8EC4 #CA8EA6
triadic
#CA8EC4 #C4CA8E #8EC4CA
tetradic
#CA8EC4 #CAB28E #8ECA94 #8EA6CA
square
#CA8EC4 #CAB28E #8ECA94 #8EA6CA
split-complementary
#CA8EC4 #A6CA8E #8ECAB2
monochromatic
#97478F #B664AE #CA8EC4 #DEB8DA #F1E1F0

Accessibility & contrast

On white

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

On black

8.18
#CA8EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EC4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EC4#FFFFFF#000000##000000
##CA8EC41.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9DC6
Deuteranopia (green-blind)
#9AA4C2
Tritanopia (blue-blind)
#CF92A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8ec4;
/* rgb */ color: rgb(202, 142, 196);
/* oklch */ color: oklch(72.3% 0.102 330.0);
Tailwind
colors: {
  custom: {
    50: '#dbb0d6',
    500: '#ca8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ec4;
$custom-light: #dbb0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ec4",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 306,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.10191,
    "h": 330
  },
  "luminance": 0.35888
}

Semantic roles & 50–950 ramp

primary
#CA8EC4
secondary
#D1E3D2
accent
#AF4336
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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