#CA8CD5#CA8CD5

#CA8CD5 is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.6% C 0.123 H 321.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD5
RGBrgb(202, 140, 213)
HSLhsl(291, 46%, 69%)
HSVhsv(291, 34%, 84%)
CMYKcmyk(5.2%, 34.3%, 0%, 16.5%)
CIE-LABlab(66.61, 35.76, -28.10)
CIE-LCHlch(66.61, 45.48, 321.83°)
OKLaboklab(72.64% 0.0959 -0.0767)
OKLCHoklch(72.64% 0.123 321.4)
XYZxyz(45.7440, 36.1182, 67.4997)
Luminance0.3612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD5 #97D58C
analogous
#A68CD5 #CA8CD5 #D58CBC
triadic
#CA8CD5 #D5CA8C #8CD5CA
tetradic
#CA8CD5 #D5A68C #97D58C #8CBCD5
square
#CA8CD5 #D5A68C #97D58C #8CBCD5
split-complementary
#CA8CD5 #BCD58C #8CD5A6
monochromatic
#993EA9 #B55FC5 #CA8CD5 #DFB9E5 #F3E6F6

Accessibility & contrast

On white

2.55
#CA8CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CA8CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD5#FFFFFF#000000##000000
##CA8CD51.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ED8
Deuteranopia (green-blind)
#93A4D3
Tritanopia (blue-blind)
#CC94A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd5;
/* rgb */ color: rgb(202, 140, 213);
/* oklch */ color: oklch(72.6% 0.123 321.4);
Tailwind
colors: {
  custom: {
    50: '#dbaee2',
    500: '#ca8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd5;
$custom-light: #dbaee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd5",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 290.959,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.12285,
    "h": 321.4
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#CA8CD5
secondary
#D7E9D4
accent
#BA2C41
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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