#CA81CE#CA81CE

#CA81CE is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.5% C 0.135 H 325.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CA81CE
RGBrgb(202, 129, 206)
HSLhsl(297, 44%, 66%)
HSVhsv(297, 37%, 81%)
CMYKcmyk(1.9%, 37.4%, 0%, 19.2%)
CIE-LABlab(63.93, 40.34, -28.33)
CIE-LCHlch(63.93, 49.29, 324.92°)
OKLaboklab(70.53% 0.1106 -0.0773)
OKLCHoklch(70.53% 0.135 325.1)
XYZxyz(43.3469, 32.7150, 62.4119)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81CE #85CE81
analogous
#A381CE #CA81CE #CE81AB
triadic
#CA81CE #CECA81 #81CECA
tetradic
#CA81CE #CEA381 #85CE81 #81ABCE
square
#CA81CE #CEA381 #85CE81 #81ABCE
split-complementary
#CA81CE #ABCE81 #81CEA3
monochromatic
#943C99 #B755BD #CA81CE #DDADDF #EFD9F0

Accessibility & contrast

On white

2.78
#CA81CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CA81CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81CE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81CE#FFFFFF#000000##000000
##CA81CE1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D1
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#CE899E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca81ce;
/* rgb */ color: rgb(202, 129, 206);
/* oklch */ color: oklch(70.5% 0.135 325.1);
Tailwind
colors: {
  custom: {
    50: '#dba7dd',
    500: '#ca81ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ce;
$custom-light: #dba7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ce",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 296.883,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70529,
    "c": 0.13493,
    "h": 325.1
  },
  "luminance": 0.32713
}

Semantic roles & 50–950 ramp

primary
#CA81CE
secondary
#CAE2C9
accent
#B72E35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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