#CA81EE#CA81EE

#CA81EE is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.169 H 313.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CA81EE
RGBrgb(202, 129, 238)
HSLhsl(280, 76%, 72%)
HSVhsv(280, 46%, 93%)
CMYKcmyk(15.1%, 45.8%, 0%, 6.7%)
CIE-LABlab(65.30, 46.72, -43.98)
CIE-LCHlch(65.30, 64.17, 316.73°)
OKLaboklab(72.01% 0.1167 -0.1221)
OKLCHoklch(72.01% 0.169 313.7)
XYZxyz(47.6375, 34.4312, 85.0088)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81EE #A5EE81
analogous
#9381EE #CA81EE #EE81DC
triadic
#CA81EE #EECA81 #81EECA
tetradic
#CA81EE #EE9381 #A5EE81 #81DCEE
square
#CA81EE #EE9381 #A5EE81 #81DCEE
split-complementary
#CA81EE #DCEE81 #81EE93
monochromatic
#9A1DD8 #B34BE7 #CA81EE #E1B7F5 #F4E4FB

Accessibility & contrast

On white

2.66
#CA81EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CA81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81EE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81EE#FFFFFF#000000##000000
##CA81EE1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF2
Deuteranopia (green-blind)
#7FA0EB
Tritanopia (blue-blind)
#C791AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca81ee;
/* rgb */ color: rgb(202, 129, 238);
/* oklch */ color: oklch(72.0% 0.169 313.7);
Tailwind
colors: {
  custom: {
    50: '#dca7f4',
    500: '#ca81ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ee;
$custom-light: #dca7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ee",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 280.183,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72009,
    "c": 0.16892,
    "h": 313.7
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

primary
#CA81EE
secondary
#E1F3D8
accent
#D80D50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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