#CA81CF#CA81CF

#CA81CF is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.6% C 0.136 H 324.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CA81CF
RGBrgb(202, 129, 207)
HSLhsl(296, 45%, 66%)
HSVhsv(296, 38%, 81%)
CMYKcmyk(2.4%, 37.7%, 0%, 18.8%)
CIE-LABlab(63.97, 40.53, -28.83)
CIE-LCHlch(63.97, 49.74, 324.58°)
OKLaboklab(70.57% 0.1109 -0.0787)
OKLCHoklch(70.57% 0.136 324.6)
XYZxyz(43.4688, 32.7638, 63.0537)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81CF #86CF81
analogous
#A381CF #CA81CF #CF81AD
triadic
#CA81CF #CFCA81 #81CFCA
tetradic
#CA81CF #CFA381 #86CF81 #81ADCF
square
#CA81CF #CFA381 #86CF81 #81ADCF
split-complementary
#CA81CF #ADCF81 #81CFA3
monochromatic
#953B9B #B755BE #CA81CF #DDADE0 #EFDAF1

Accessibility & contrast

On white

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

On black

7.55
#CA81CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81CF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81CF#FFFFFF#000000##000000
##CA81CF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D2
Deuteranopia (green-blind)
#8C9ECC
Tritanopia (blue-blind)
#CD899E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca81cf;
/* rgb */ color: rgb(202, 129, 207);
/* oklch */ color: oklch(70.6% 0.136 324.6);
Tailwind
colors: {
  custom: {
    50: '#dba7de',
    500: '#ca81cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca81cf;
$custom-light: #dba7de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81cf",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 296.154,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70572,
    "c": 0.13594,
    "h": 324.6
  },
  "luminance": 0.32762
}

Semantic roles & 50–950 ramp

primary
#CA81CF
secondary
#CBE3C9
accent
#B82E36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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