#CA8EC2#CA8EC2

#CA8EC2 is a light, moderate purple. Relative luminance 0.358; OKLCH L 72.2% C 0.100 H 331.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CA8EC2
RGBrgb(202, 142, 194)
HSLhsl(308, 36%, 67%)
HSVhsv(308, 30%, 79%)
CMYKcmyk(0%, 29.7%, 4%, 20.8%)
CIE-LABlab(66.37, 31.08, -17.88)
CIE-LCHlch(66.37, 35.85, 330.09°)
OKLaboklab(72.23% 0.0877 -0.0481)
OKLCHoklch(72.23% 0.1 331.3)
XYZxyz(43.7670, 35.7993, 55.6330)
Luminance0.3580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EC2 #8ECA96
analogous
#B48ECA #CA8EC2 #CA8EA4
triadic
#CA8EC2 #C2CA8E #8EC2CA
tetradic
#CA8EC2 #CAB48E #8ECA96 #8EA4CA
square
#CA8EC2 #CAB48E #8ECA96 #8EA4CA
split-complementary
#CA8EC2 #A4CA8E #8ECAB4
monochromatic
#97478C #B664AC #CA8EC2 #DEB8D8 #F1E1EF

Accessibility & contrast

On white

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

On black

8.16
#CA8EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EC2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EC2#FFFFFF#000000##000000
##CA8EC21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9CC4
Deuteranopia (green-blind)
#9BA4C0
Tritanopia (blue-blind)
#CF91A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8ec2;
/* rgb */ color: rgb(202, 142, 194);
/* oklch */ color: oklch(72.2% 0.100 331.3);
Tailwind
colors: {
  custom: {
    50: '#dbb0d4',
    500: '#ca8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ec2;
$custom-light: #dbb0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ec2",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 308,
    "s": 36.145,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.10001,
    "h": 331.3
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#CA8EC2
secondary
#D1E3D3
accent
#AF4736
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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