#CA8DD7#CA8DD7

#CA8DD7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 72.9% C 0.123 H 320.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CA8DD7
RGBrgb(202, 141, 215)
HSLhsl(289, 48%, 70%)
HSVhsv(289, 34%, 84%)
CMYKcmyk(6%, 34.4%, 0%, 15.7%)
CIE-LABlab(66.91, 35.60, -28.75)
CIE-LCHlch(66.91, 45.76, 321.08°)
OKLaboklab(72.9% 0.095 -0.0786)
OKLCHoklch(72.9% 0.123 320.4)
XYZxyz(46.1462, 36.5139, 68.8938)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DD7 #9AD78D
analogous
#A58DD7 #CA8DD7 #D78DBF
triadic
#CA8DD7 #D7CA8D #8DD7CA
tetradic
#CA8DD7 #D7A58D #9AD78D #8DBFD7
square
#CA8DD7 #D7A58D #9AD78D #8DBFD7
split-complementary
#CA8DD7 #BFD78D #8DD7A5
monochromatic
#993DAD #B560C7 #CA8DD7 #DFBAE7 #F4E8F7

Accessibility & contrast

On white

2.53
#CA8DD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CA8DD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DD7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DD7#FFFFFF#000000##000000
##CA8DD71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#849FDA
Deuteranopia (green-blind)
#93A5D5
Tritanopia (blue-blind)
#CB95A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8dd7;
/* rgb */ color: rgb(202, 141, 215);
/* oklch */ color: oklch(72.9% 0.123 320.4);
Tailwind
colors: {
  custom: {
    50: '#dbafe3',
    500: '#ca8dd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dd7;
$custom-light: #dbafe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dd7",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 215
  },
  "hsl": {
    "h": 289.459,
    "s": 48.052,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.12324,
    "h": 320.4
  },
  "luminance": 0.36513
}

Semantic roles & 50–950 ramp

primary
#CA8DD7
secondary
#D9EAD5
accent
#BB2A44
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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