#CA8CD9#CA8CD9

#CA8CD9 is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.8% C 0.127 H 319.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD9
RGBrgb(202, 140, 217)
HSLhsl(288, 50%, 70%)
HSVhsv(288, 35%, 85%)
CMYKcmyk(6.9%, 35.5%, 0%, 14.9%)
CIE-LABlab(66.77, 36.54, -30.08)
CIE-LCHlch(66.77, 47.33, 320.54°)
OKLaboklab(72.81% 0.0969 -0.0823)
OKLCHoklch(72.81% 0.127 319.6)
XYZxyz(46.2580, 36.3238, 70.2066)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD9 #9BD98C
analogous
#A48CD9 #CA8CD9 #D98CC1
triadic
#CA8CD9 #D9CA8C #8CD9CA
tetradic
#CA8CD9 #D9A48C #9BD98C #8CC1D9
square
#CA8CD9 #D9A48C #9BD98C #8CC1D9
split-complementary
#CA8CD9 #C1D98C #8CD9A4
monochromatic
#993AB0 #B55ECA #CA8CD9 #DFBAE8 #F4E8F7

Accessibility & contrast

On white

2.54
#CA8CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CA8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD9#FFFFFF#000000##000000
##CA8CD91.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDC
Deuteranopia (green-blind)
#91A5D7
Tritanopia (blue-blind)
#CB95A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd9;
/* rgb */ color: rgb(202, 140, 217);
/* oklch */ color: oklch(72.8% 0.127 319.6);
Tailwind
colors: {
  custom: {
    50: '#dbaee5',
    500: '#ca8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd9;
$custom-light: #dbaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd9",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 288.312,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.72814,
    "c": 0.12717,
    "h": 319.6
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

primary
#CA8CD9
secondary
#DAEBD6
accent
#BE2845
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151015
muted
#837F84

Preview Lab

Preview with #CA8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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