#CA8CD4#CA8CD4

#CA8CD4 is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.6% C 0.122 H 321.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD4
RGBrgb(202, 140, 212)
HSLhsl(292, 46%, 69%)
HSVhsv(292, 34%, 83%)
CMYKcmyk(4.7%, 34%, 0%, 16.9%)
CIE-LABlab(66.57, 35.56, -27.61)
CIE-LCHlch(66.57, 45.02, 322.18°)
OKLaboklab(72.6% 0.0957 -0.0753)
OKLCHoklch(72.6% 0.122 321.8)
XYZxyz(45.6175, 36.0676, 66.8333)
Luminance0.3607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD4 #96D48C
analogous
#A68CD4 #CA8CD4 #D48CBA
triadic
#CA8CD4 #D4CA8C #8CD4CA
tetradic
#CA8CD4 #D4A68C #96D48C #8CBAD4
square
#CA8CD4 #D4A68C #96D48C #8CBAD4
split-complementary
#CA8CD4 #BAD48C #8CD4A6
monochromatic
#993EA7 #B55FC3 #CA8CD4 #DFB9E5 #F3E5F5

Accessibility & contrast

On white

2.56
#CA8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CA8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD4#FFFFFF#000000##000000
##CA8CD41.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD7
Deuteranopia (green-blind)
#93A4D2
Tritanopia (blue-blind)
#CC94A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd4;
/* rgb */ color: rgb(202, 140, 212);
/* oklch */ color: oklch(72.6% 0.122 321.8);
Tailwind
colors: {
  custom: {
    50: '#dbaee1',
    500: '#ca8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd4;
$custom-light: #dbaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd4",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 291.667,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72602,
    "c": 0.12179,
    "h": 321.8
  },
  "luminance": 0.36066
}

Semantic roles & 50–950 ramp

primary
#CA8CD4
secondary
#D6E8D3
accent
#B92D40
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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