#CA81DF#CA81DF

#CA81DF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.3% C 0.153 H 318.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CA81DF
RGBrgb(202, 129, 223)
HSLhsl(287, 59%, 69%)
HSVhsv(287, 42%, 87%)
CMYKcmyk(9.4%, 42.2%, 0%, 12.5%)
CIE-LABlab(64.63, 43.65, -36.73)
CIE-LCHlch(64.63, 57.05, 319.93°)
OKLaboklab(71.29% 0.1142 -0.1012)
OKLCHoklch(71.29% 0.153 318.4)
XYZxyz(45.5249, 33.5862, 73.8824)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81DF #96DF81
analogous
#9B81DF #CA81DF #DF81C5
triadic
#CA81DF #DFCA81 #81DFCA
tetradic
#CA81DF #DF9B81 #96DF81 #81C5DF
square
#CA81DF #DF9B81 #96DF81 #81C5DF
split-complementary
#CA81DF #C5DF81 #81DF9B
monochromatic
#992FB7 #B550D3 #CA81DF #DFB2EB #F3E3F8

Accessibility & contrast

On white

2.72
#CA81DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CA81DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81DF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81DF#FFFFFF#000000##000000
##CA81DF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E2
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#CA8DA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca81df;
/* rgb */ color: rgb(202, 129, 223);
/* oklch */ color: oklch(71.3% 0.153 318.4);
Tailwind
colors: {
  custom: {
    50: '#dca7e9',
    500: '#ca81df',
    950: '#000000',
  },
}
SCSS
$custom: #ca81df;
$custom-light: #dca7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81df",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 286.596,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.15261,
    "h": 318.4
  },
  "luminance": 0.33585
}

Semantic roles & 50–950 ramp

primary
#CA81DF
secondary
#D6ECD0
accent
#C71E44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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