#CA81EA#CA81EA

#CA81EA is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.8% C 0.165 H 314.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CA81EA
RGBrgb(202, 129, 234)
HSLhsl(282, 71%, 71%)
HSVhsv(282, 45%, 92%)
CMYKcmyk(13.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(65.12, 45.89, -42.06)
CIE-LCHlch(65.12, 62.25, 317.49°)
OKLaboklab(71.81% 0.1161 -0.1166)
OKLCHoklch(71.81% 0.165 314.9)
XYZxyz(47.0563, 34.1988, 81.9481)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81EA #A1EA81
analogous
#9581EA #CA81EA #EA81D6
triadic
#CA81EA #EACA81 #81EACA
tetradic
#CA81EA #EA9581 #A1EA81 #81D6EA
square
#CA81EA #EA9581 #A1EA81 #81D6EA
split-complementary
#CA81EA #D6EA81 #81EA95
monochromatic
#9A22CE #B44DE1 #CA81EA #E0B5F3 #F4E5FB

Accessibility & contrast

On white

2.68
#CA81EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CA81EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81EA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81EA#FFFFFF#000000##000000
##CA81EA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#C890AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca81ea;
/* rgb */ color: rgb(202, 129, 234);
/* oklch */ color: oklch(71.8% 0.165 314.9);
Tailwind
colors: {
  custom: {
    50: '#dca7f1',
    500: '#ca81ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ea;
$custom-light: #dca7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ea",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 281.714,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.16453,
    "h": 314.9
  },
  "luminance": 0.34198
}

Semantic roles & 50–950 ramp

primary
#CA81EA
secondary
#DEF1D6
accent
#D3124D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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