#CA81DD#CA81DD

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

Color values

HEX#CA81DD
RGBrgb(202, 129, 221)
HSLhsl(288, 58%, 69%)
HSVhsv(288, 42%, 87%)
CMYKcmyk(8.6%, 41.6%, 0%, 13.3%)
CIE-LABlab(64.55, 43.25, -35.75)
CIE-LCHlch(64.55, 56.11, 320.43°)
OKLaboklab(71.2% 0.1138 -0.0984)
OKLCHoklch(71.2% 0.15 319.1)
XYZxyz(45.2568, 33.4790, 72.4707)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81DD #94DD81
analogous
#9C81DD #CA81DD #DD81C2
triadic
#CA81DD #DDCA81 #81DDCA
tetradic
#CA81DD #DD9C81 #94DD81 #81C2DD
square
#CA81DD #DD9C81 #94DD81 #81C2DD
split-complementary
#CA81DD #C2DD81 #81DD9C
monochromatic
#9830B3 #B651D0 #CA81DD #DEB1EA #F3E1F7

Accessibility & contrast

On white

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

On black

7.70
#CA81DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81DD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81DD#FFFFFF#000000##000000
##CA81DD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E0
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#CB8DA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca81dd;
/* rgb */ color: rgb(202, 129, 221);
/* oklch */ color: oklch(71.2% 0.150 319.1);
Tailwind
colors: {
  custom: {
    50: '#dba7e8',
    500: '#ca81dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca81dd;
$custom-light: #dba7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81dd",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 287.609,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71196,
    "c": 0.15047,
    "h": 319.1
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#CA81DD
secondary
#D5EBCF
accent
#C52042
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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