#CA81EF#CA81EF

#CA81EF is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.170 H 313.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CA81EF
RGBrgb(202, 129, 239)
HSLhsl(280, 77%, 72%)
HSVhsv(280, 46%, 94%)
CMYKcmyk(15.5%, 46%, 0%, 6.3%)
CIE-LABlab(65.35, 46.93, -44.46)
CIE-LCHlch(65.35, 64.65, 316.55°)
OKLaboklab(72.06% 0.1168 -0.1235)
OKLCHoklch(72.06% 0.17 313.4)
XYZxyz(47.7848, 34.4902, 85.7847)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81EF #A6EF81
analogous
#9381EF #CA81EF #EF81DD
triadic
#CA81EF #EFCA81 #81EFCA
tetradic
#CA81EF #EF9381 #A6EF81 #81DDEF
square
#CA81EF #EF9381 #A6EF81 #81DDEF
split-complementary
#CA81EF #DDEF81 #81EF93
monochromatic
#9A1CDA #B34BE8 #CA81EF #E1B7F6 #F4E4FC

Accessibility & contrast

On white

2.66
#CA81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CA81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81EF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81EF#FFFFFF#000000##000000
##CA81EF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#C792AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca81ef;
/* rgb */ color: rgb(202, 129, 239);
/* oklch */ color: oklch(72.1% 0.170 313.4);
Tailwind
colors: {
  custom: {
    50: '#dca7f4',
    500: '#ca81ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ef;
$custom-light: #dca7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ef",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 279.818,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72059,
    "c": 0.17003,
    "h": 313.4
  },
  "luminance": 0.34489
}

Semantic roles & 50–950 ramp

primary
#CA81EF
secondary
#E1F3D8
accent
#DA0C51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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