#CA8CDC#CA8CDC

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

Color values

HEX#CA8CDC
RGBrgb(202, 140, 220)
HSLhsl(287, 53%, 71%)
HSVhsv(287, 36%, 86%)
CMYKcmyk(8.2%, 36.4%, 0%, 13.7%)
CIE-LABlab(66.89, 37.14, -31.56)
CIE-LCHlch(66.89, 48.74, 319.64°)
OKLaboklab(72.94% 0.0976 -0.0865)
OKLCHoklch(72.94% 0.13 318.4)
XYZxyz(46.6517, 36.4813, 72.2804)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CDC #9EDC8C
analogous
#A28CDC #CA8CDC #DC8CC6
triadic
#CA8CDC #DCCA8C #8CDCCA
tetradic
#CA8CDC #DCA28C #9EDC8C #8CC6DC
square
#CA8CDC #DCA28C #9EDC8C #8CC6DC
split-complementary
#CA8CDC #C6DC8C #8CDCA2
monochromatic
#9A37B6 #B45DCE #CA8CDC #E0BBEA #F4E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA8CDC#FFFFFF#000000##000000
##CA8CDC1.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)
#819FDF
Deuteranopia (green-blind)
#90A5DA
Tritanopia (blue-blind)
#CA96AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8cdc;
/* rgb */ color: rgb(202, 140, 220);
/* oklch */ color: oklch(72.9% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#dbaee7',
    500: '#ca8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cdc;
$custom-light: #dbaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cdc",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 286.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72943,
    "c": 0.13046,
    "h": 318.4
  },
  "luminance": 0.3648
}

Semantic roles & 50–950 ramp

primary
#CA8CDC
secondary
#DCEDD7
accent
#C12548
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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