#CA81E8#CA81E8

#CA81E8 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.162 H 315.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CA81E8
RGBrgb(202, 129, 232)
HSLhsl(283, 69%, 71%)
HSVhsv(283, 44%, 91%)
CMYKcmyk(12.9%, 44.4%, 0%, 9%)
CIE-LABlab(65.03, 45.48, -41.10)
CIE-LCHlch(65.03, 61.30, 317.90°)
OKLaboklab(71.71% 0.1158 -0.1138)
OKLCHoklch(71.71% 0.162 315.5)
XYZxyz(46.7706, 34.0845, 80.4435)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81E8 #9FE881
analogous
#9681E8 #CA81E8 #E881D3
triadic
#CA81E8 #E8CA81 #81E8CA
tetradic
#CA81E8 #E89681 #9FE881 #81D3E8
square
#CA81E8 #E89681 #9FE881 #81D3E8
split-complementary
#CA81E8 #D3E881 #81E896
monochromatic
#9A25CA #B44DDF #CA81E8 #E0B5F1 #F4E5FA

Accessibility & contrast

On white

2.69
#CA81E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CA81E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81E8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81E8#FFFFFF#000000##000000
##CA81E81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#C890AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca81e8;
/* rgb */ color: rgb(202, 129, 232);
/* oklch */ color: oklch(71.7% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#dca7ef',
    500: '#ca81e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca81e8;
$custom-light: #dca7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81e8",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 282.524,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71715,
    "c": 0.16234,
    "h": 315.5
  },
  "luminance": 0.34083
}

Semantic roles & 50–950 ramp

primary
#CA81E8
secondary
#DDF0D5
accent
#D1144B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA81E8

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

Preview Lab → · Contrast checker → · Palette generator →

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