#CA81ED#CA81ED

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

Color values

HEX#CA81ED
RGBrgb(202, 129, 237)
HSLhsl(281, 75%, 72%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.8%, 45.6%, 0%, 7.1%)
CIE-LABlab(65.26, 46.51, -43.50)
CIE-LCHlch(65.26, 63.69, 316.91°)
OKLaboklab(71.96% 0.1165 -0.1208)
OKLCHoklch(71.96% 0.168 314)
XYZxyz(47.4910, 34.3726, 84.2372)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81ED #A4ED81
analogous
#9481ED #CA81ED #ED81DA
triadic
#CA81ED #EDCA81 #81EDCA
tetradic
#CA81ED #ED9481 #A4ED81 #81DAED
square
#CA81ED #ED9481 #A4ED81 #81DAED
split-complementary
#CA81ED #DAED81 #81ED94
monochromatic
#9A1ED5 #B34BE5 #CA81ED #E1B7F5 #F4E4FB

Accessibility & contrast

On white

2.67
#CA81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CA81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81ED
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81ED#FFFFFF#000000##000000
##CA81ED1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca81ed;
/* rgb */ color: rgb(202, 129, 237);
/* oklch */ color: oklch(72.0% 0.168 314.0);
Tailwind
colors: {
  custom: {
    50: '#dca7f3',
    500: '#ca81ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ed;
$custom-light: #dca7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ed",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 280.556,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7196,
    "c": 0.16782,
    "h": 314
  },
  "luminance": 0.34371
}

Semantic roles & 50–950 ramp

primary
#CA81ED
secondary
#E0F3D7
accent
#D70E4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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