#CA81CA#CA81CA

#CA81CA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.131 H 326.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA81CA
RGBrgb(202, 129, 202)
HSLhsl(300, 41%, 65%)
HSVhsv(300, 36%, 79%)
CMYKcmyk(0%, 36.1%, 0%, 20.8%)
CIE-LABlab(63.77, 39.59, -26.32)
CIE-LCHlch(63.77, 47.55, 326.38°)
OKLaboklab(70.36% 0.1097 -0.0716)
OKLCHoklch(70.36% 0.131 326.9)
XYZxyz(42.8672, 32.5231, 59.8852)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81CA #81CA81
analogous
#A681CA #CA81CA #CA81A6
triadic
#CA81CA #CACA81 #81CACA
tetradic
#CA81CA #CAA681 #81CA81 #81A6CA
square
#CA81CA #CAA681 #81CA81 #81A6CA
split-complementary
#CA81CA #A6CA81 #81CAA6
monochromatic
#933E93 #B856B8 #CA81CA #DCACDC #EED7EE

Accessibility & contrast

On white

2.80
#CA81CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CA81CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81CA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81CA#FFFFFF#000000##000000
##CA81CA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#CE889C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca81ca;
/* rgb */ color: rgb(202, 129, 202);
/* oklch */ color: oklch(70.4% 0.131 326.9);
Tailwind
colors: {
  custom: {
    50: '#dba7da',
    500: '#ca81ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ca;
$custom-light: #dba7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ca",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7036,
    "c": 0.13097,
    "h": 326.9
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#CA81CA
secondary
#C7E0C7
accent
#B43232
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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