#CA8DCB#CA8DCB

#CA8DCB is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.4% C 0.111 H 326.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CA8DCB
RGBrgb(202, 141, 203)
HSLhsl(299, 37%, 67%)
HSVhsv(299, 31%, 80%)
CMYKcmyk(0.5%, 30.5%, 0%, 20.4%)
CIE-LABlab(66.46, 33.29, -22.77)
CIE-LCHlch(66.46, 40.33, 325.63°)
OKLaboklab(72.41% 0.0918 -0.0617)
OKLCHoklch(72.41% 0.111 326.1)
XYZxyz(44.6605, 35.9196, 61.0690)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DCB #8ECB8D
analogous
#AB8DCB #CA8DCB #CB8DAD
triadic
#CA8DCB #CBCA8D #8DCBCA
tetradic
#CA8DCB #CBAB8D #8ECB8D #8DADCB
square
#CA8DCB #CBAB8D #8ECB8D #8DADCB
split-complementary
#CA8DCB #ADCB8D #8DCBAB
monochromatic
#974598 #B663B8 #CA8DCB #DEB7DE #F1E1F1

Accessibility & contrast

On white

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

On black

8.18
#CA8DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DCB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DCB#FFFFFF#000000##000000
##CA8DCB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCD
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#CE93A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8dcb;
/* rgb */ color: rgb(202, 141, 203);
/* oklch */ color: oklch(72.4% 0.111 326.1);
Tailwind
colors: {
  custom: {
    50: '#dbafdb',
    500: '#ca8dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dcb;
$custom-light: #dbafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dcb",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 203
  },
  "hsl": {
    "h": 299.032,
    "s": 37.349,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72405,
    "c": 0.11062,
    "h": 326.1
  },
  "luminance": 0.35918
}

Semantic roles & 50–950 ramp

primary
#CA8DCB
secondary
#D1E4D0
accent
#B03537
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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