#CA8CD7#CA8CD7

#CA8CD7 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.7% C 0.125 H 320.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD7
RGBrgb(202, 140, 215)
HSLhsl(290, 48%, 70%)
HSVhsv(290, 35%, 84%)
CMYKcmyk(6%, 34.9%, 0%, 15.7%)
CIE-LABlab(66.69, 36.15, -29.09)
CIE-LCHlch(66.69, 46.40, 321.17°)
OKLaboklab(72.73% 0.0964 -0.0795)
OKLCHoklch(72.73% 0.125 320.5)
XYZxyz(45.9994, 36.2204, 68.8449)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD7 #99D78C
analogous
#A58CD7 #CA8CD7 #D78CBF
triadic
#CA8CD7 #D7CA8C #8CD7CA
tetradic
#CA8CD7 #D7A58C #99D78C #8CBFD7
square
#CA8CD7 #D7A58C #99D78C #8CBFD7
split-complementary
#CA8CD7 #BFD78C #8CD7A5
monochromatic
#993CAD #B55FC7 #CA8CD7 #DFB9E7 #F4E7F7

Accessibility & contrast

On white

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

On black

8.24
#CA8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD7#FFFFFF#000000##000000
##CA8CD71.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDA
Deuteranopia (green-blind)
#92A5D5
Tritanopia (blue-blind)
#CB94A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd7;
/* rgb */ color: rgb(202, 140, 215);
/* oklch */ color: oklch(72.7% 0.125 320.5);
Tailwind
colors: {
  custom: {
    50: '#dbaee3',
    500: '#ca8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd7;
$custom-light: #dbaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd7",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 289.6,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72728,
    "c": 0.125,
    "h": 320.5
  },
  "luminance": 0.36219
}

Semantic roles & 50–950 ramp

primary
#CA8CD7
secondary
#D8EAD5
accent
#BC2A43
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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