#CA8BC7#CA8BC7

#CA8BC7 is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.9% C 0.110 H 328.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CA8BC7
RGBrgb(202, 139, 199)
HSLhsl(303, 37%, 67%)
HSVhsv(303, 31%, 79%)
CMYKcmyk(0%, 31.2%, 1.5%, 20.8%)
CIE-LABlab(65.86, 33.63, -21.44)
CIE-LCHlch(65.86, 39.89, 327.48°)
OKLaboklab(71.9% 0.0938 -0.058)
OKLCHoklch(71.9% 0.11 328.3)
XYZxyz(43.8977, 35.1470, 58.4935)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BC7 #8BCA8E
analogous
#AE8BCA #CA8BC7 #CA8BA8
triadic
#CA8BC7 #C7CA8B #8BC7CA
tetradic
#CA8BC7 #CAAE8B #8BCA8E #8BA8CA
square
#CA8BC7 #CAAE8B #8BCA8E #8BA8CA
split-complementary
#CA8BC7 #A8CA8B #8BCAAE
monochromatic
#964592 #B761B3 #CA8BC7 #DDB5DB #F0DFF0

Accessibility & contrast

On white

2.62
#CA8BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CA8BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BC7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BC7#FFFFFF#000000##000000
##CA8BC71.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC9
Deuteranopia (green-blind)
#97A3C5
Tritanopia (blue-blind)
#CE90A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8bc7;
/* rgb */ color: rgb(202, 139, 199);
/* oklch */ color: oklch(71.9% 0.110 328.3);
Tailwind
colors: {
  custom: {
    50: '#dbaed8',
    500: '#ca8bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bc7;
$custom-light: #dbaed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bc7",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 302.857,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.11022,
    "h": 328.3
  },
  "luminance": 0.35145
}

Semantic roles & 50–950 ramp

primary
#CA8BC7
secondary
#CEE2CF
accent
#B03B35
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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