#CA8CD8#CA8CD8

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

Color values

HEX#CA8CD8
RGBrgb(202, 140, 216)
HSLhsl(289, 49%, 70%)
HSVhsv(289, 35%, 85%)
CMYKcmyk(6.5%, 35.2%, 0%, 15.3%)
CIE-LABlab(66.73, 36.35, -29.59)
CIE-LCHlch(66.73, 46.87, 320.85°)
OKLaboklab(72.77% 0.0967 -0.0809)
OKLCHoklch(72.77% 0.126 320.1)
XYZxyz(46.1283, 36.2719, 69.5237)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD8 #9AD88C
analogous
#A48CD8 #CA8CD8 #D88CC0
triadic
#CA8CD8 #D8CA8C #8CD8CA
tetradic
#CA8CD8 #D8A48C #9AD88C #8CC0D8
square
#CA8CD8 #D8A48C #9AD88C #8CC0D8
split-complementary
#CA8CD8 #C0D88C #8CD8A4
monochromatic
#993BAE #B55EC9 #CA8CD8 #DFBAE7 #F4E7F7

Accessibility & contrast

On white

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

On black

8.25
#CA8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD8#FFFFFF#000000##000000
##CA8CD81.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDB
Deuteranopia (green-blind)
#92A5D6
Tritanopia (blue-blind)
#CB95A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd8;
/* rgb */ color: rgb(202, 140, 216);
/* oklch */ color: oklch(72.8% 0.126 320.1);
Tailwind
colors: {
  custom: {
    50: '#dbaee4',
    500: '#ca8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd8;
$custom-light: #dbaee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd8",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 288.947,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.12609,
    "h": 320.1
  },
  "luminance": 0.36271
}

Semantic roles & 50–950 ramp

primary
#CA8CD8
secondary
#D9EBD5
accent
#BD2944
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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