#CA81EB#CA81EB

#CA81EB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.166 H 314.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CA81EB
RGBrgb(202, 129, 235)
HSLhsl(281, 73%, 71%)
HSVhsv(281, 45%, 92%)
CMYKcmyk(14%, 45.1%, 0%, 7.8%)
CIE-LABlab(65.17, 46.10, -42.54)
CIE-LCHlch(65.17, 62.73, 317.30°)
OKLaboklab(71.86% 0.1162 -0.118)
OKLCHoklch(71.86% 0.166 314.6)
XYZxyz(47.2004, 34.2564, 82.7069)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81EB #A2EB81
analogous
#9581EB #CA81EB #EB81D7
triadic
#CA81EB #EBCA81 #81EBCA
tetradic
#CA81EB #EB9581 #A2EB81 #81D7EB
square
#CA81EB #EB9581 #A2EB81 #81D7EB
split-complementary
#CA81EB #D7EB81 #81EB95
monochromatic
#9A21D1 #B44CE3 #CA81EB #E0B6F3 #F4E5FB

Accessibility & contrast

On white

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

On black

7.85
#CA81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81EB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81EB#FFFFFF#000000##000000
##CA81EB1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#C890AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca81eb;
/* rgb */ color: rgb(202, 129, 235);
/* oklch */ color: oklch(71.9% 0.166 314.6);
Tailwind
colors: {
  custom: {
    50: '#dca7f2',
    500: '#ca81eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca81eb;
$custom-light: #dca7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81eb",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 281.321,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.16562,
    "h": 314.6
  },
  "luminance": 0.34255
}

Semantic roles & 50–950 ramp

primary
#CA81EB
secondary
#DFF2D6
accent
#D5114E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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