#CA81E2#CA81E2

#CA81E2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.4% C 0.156 H 317.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CA81E2
RGBrgb(202, 129, 226)
HSLhsl(285, 63%, 70%)
HSVhsv(285, 43%, 89%)
CMYKcmyk(10.6%, 42.9%, 0%, 11.4%)
CIE-LABlab(64.76, 44.26, -38.19)
CIE-LCHlch(64.76, 58.45, 319.21°)
OKLaboklab(71.43% 0.1147 -0.1054)
OKLCHoklch(71.43% 0.156 317.4)
XYZxyz(45.9329, 33.7494, 76.0314)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81E2 #99E281
analogous
#9A81E2 #CA81E2 #E281C9
triadic
#CA81E2 #E2CA81 #81E2CA
tetradic
#CA81E2 #E29A81 #99E281 #81C9E2
square
#CA81E2 #E29A81 #99E281 #81C9E2
split-complementary
#CA81E2 #C9E281 #81E29A
monochromatic
#992CBD #B54FD7 #CA81E2 #DFB3ED #F4E4F9

Accessibility & contrast

On white

2.71
#CA81E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CA81E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81E2#FFFFFF#000000##000000
##CA81E21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#84A0DF
Tritanopia (blue-blind)
#CA8EA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca81e2;
/* rgb */ color: rgb(202, 129, 226);
/* oklch */ color: oklch(71.4% 0.156 317.4);
Tailwind
colors: {
  custom: {
    50: '#dca7eb',
    500: '#ca81e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca81e2;
$custom-light: #dca7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81e2",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 285.155,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.15583,
    "h": 317.4
  },
  "luminance": 0.33748
}

Semantic roles & 50–950 ramp

primary
#CA81E2
secondary
#D8EDD2
accent
#CA1B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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