#CA81DE#CA81DE

#CA81DE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.2% C 0.152 H 318.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CA81DE
RGBrgb(202, 129, 222)
HSLhsl(287, 58%, 69%)
HSVhsv(287, 42%, 87%)
CMYKcmyk(9%, 41.9%, 0%, 12.9%)
CIE-LABlab(64.59, 43.45, -36.24)
CIE-LCHlch(64.59, 56.58, 320.17°)
OKLaboklab(71.24% 0.114 -0.0998)
OKLCHoklch(71.24% 0.152 318.8)
XYZxyz(45.3904, 33.5324, 73.1745)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81DE #95DE81
analogous
#9C81DE #CA81DE #DE81C4
triadic
#CA81DE #DECA81 #81DECA
tetradic
#CA81DE #DE9C81 #95DE81 #81C4DE
square
#CA81DE #DE9C81 #95DE81 #81C4DE
split-complementary
#CA81DE #C4DE81 #81DE9C
monochromatic
#982FB5 #B651D1 #CA81DE #DEB1EB #F3E2F7

Accessibility & contrast

On white

2.73
#CA81DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CA81DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81DE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81DE#FFFFFF#000000##000000
##CA81DE1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E1
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#CB8DA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca81de;
/* rgb */ color: rgb(202, 129, 222);
/* oklch */ color: oklch(71.2% 0.152 318.8);
Tailwind
colors: {
  custom: {
    50: '#dba7e8',
    500: '#ca81de',
    950: '#000000',
  },
}
SCSS
$custom: #ca81de;
$custom-light: #dba7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81de",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 287.097,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.15153,
    "h": 318.8
  },
  "luminance": 0.33531
}

Semantic roles & 50–950 ramp

primary
#CA81DE
secondary
#D6EBD0
accent
#C61F43
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA81DE

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

Preview Lab → · Contrast checker → · Palette generator →

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