#CA81CB#CA81CB

#CA81CB is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.4% C 0.132 H 326.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA81CB
RGBrgb(202, 129, 203)
HSLhsl(299, 42%, 65%)
HSVhsv(299, 36%, 80%)
CMYKcmyk(0.5%, 36.5%, 0%, 20.4%)
CIE-LABlab(63.81, 39.78, -26.83)
CIE-LCHlch(63.81, 47.98, 326.01°)
OKLaboklab(70.4% 0.1099 -0.073)
OKLCHoklch(70.4% 0.132 326.4)
XYZxyz(42.9859, 32.5706, 60.5108)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81CB #82CB81
analogous
#A581CB #CA81CB #CB81A7
triadic
#CA81CB #CBCA81 #81CBCA
tetradic
#CA81CB #CBA581 #82CB81 #81A7CB
square
#CA81CB #CBA581 #82CB81 #81A7CB
split-complementary
#CA81CB #A7CB81 #81CBA5
monochromatic
#933D94 #B856B9 #CA81CB #DCACDD #EED8EF

Accessibility & contrast

On white

2.79
#CA81CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CA81CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81CB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81CB#FFFFFF#000000##000000
##CA81CB1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CE
Deuteranopia (green-blind)
#8E9EC9
Tritanopia (blue-blind)
#CE889D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca81cb;
/* rgb */ color: rgb(202, 129, 203);
/* oklch */ color: oklch(70.4% 0.132 326.4);
Tailwind
colors: {
  custom: {
    50: '#dba7db',
    500: '#ca81cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca81cb;
$custom-light: #dba7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81cb",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 299.189,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.13195,
    "h": 326.4
  },
  "luminance": 0.32569
}

Semantic roles & 50–950 ramp

primary
#CA81CB
secondary
#C8E0C7
accent
#B53133
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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