#CA8BD7#CA8BD7

#CA8BD7 is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.6% C 0.127 H 320.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CA8BD7
RGBrgb(202, 139, 215)
HSLhsl(290, 49%, 69%)
HSVhsv(290, 35%, 84%)
CMYKcmyk(6%, 35.3%, 0%, 15.7%)
CIE-LABlab(66.47, 36.69, -29.44)
CIE-LCHlch(66.47, 47.04, 321.26°)
OKLaboklab(72.56% 0.0979 -0.0805)
OKLCHoklch(72.56% 0.127 320.6)
XYZxyz(45.8539, 35.9295, 68.7964)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BD7 #98D78B
analogous
#A48BD7 #CA8BD7 #D78BBE
triadic
#CA8BD7 #D7CA8B #8BD7CA
tetradic
#CA8BD7 #D7A48B #98D78B #8BBED7
square
#CA8BD7 #D7A48B #98D78B #8BBED7
split-complementary
#CA8BD7 #BED78B #8BD7A4
monochromatic
#993BAC #B55DC7 #CA8BD7 #DFB9E7 #F4E6F6

Accessibility & contrast

On white

2.57
#CA8BD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CA8BD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BD7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BD7#FFFFFF#000000##000000
##CA8BD71.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#829DDA
Deuteranopia (green-blind)
#91A4D5
Tritanopia (blue-blind)
#CB94A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8bd7;
/* rgb */ color: rgb(202, 139, 215);
/* oklch */ color: oklch(72.6% 0.127 320.6);
Tailwind
colors: {
  custom: {
    50: '#dbaee3',
    500: '#ca8bd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bd7;
$custom-light: #dbaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bd7",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 215
  },
  "hsl": {
    "h": 289.737,
    "s": 48.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.12676,
    "h": 320.6
  },
  "luminance": 0.35928
}

Semantic roles & 50–950 ramp

primary
#CA8BD7
secondary
#D8EAD4
accent
#BC2943
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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