#CA8DC7#CA8DC7

#CA8DC7 is a light, moderate purple. Relative luminance 0.357; OKLCH L 72.2% C 0.107 H 328.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CA8DC7
RGBrgb(202, 141, 199)
HSLhsl(303, 37%, 67%)
HSVhsv(303, 30%, 79%)
CMYKcmyk(0%, 30.2%, 1.5%, 20.8%)
CIE-LABlab(66.31, 32.54, -20.75)
CIE-LCHlch(66.31, 38.60, 327.47°)
OKLaboklab(72.25% 0.0907 -0.0561)
OKLCHoklch(72.25% 0.107 328.3)
XYZxyz(44.1899, 35.7314, 58.5909)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DC7 #8DCA90
analogous
#AF8DCA #CA8DC7 #CA8DA9
triadic
#CA8DC7 #C7CA8D #8DC7CA
tetradic
#CA8DC7 #CAAF8D #8DCA90 #8DA9CA
square
#CA8DC7 #CAAF8D #8DCA90 #8DA9CA
split-complementary
#CA8DC7 #A9CA8D #8DCAAF
monochromatic
#974693 #B763B2 #CA8DC7 #DDB7DC #F1E1F0

Accessibility & contrast

On white

2.58
#CA8DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CA8DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DC7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DC7#FFFFFF#000000##000000
##CA8DC71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9CC9
Deuteranopia (green-blind)
#98A4C5
Tritanopia (blue-blind)
#CE92A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8dc7;
/* rgb */ color: rgb(202, 141, 199);
/* oklch */ color: oklch(72.2% 0.107 328.3);
Tailwind
colors: {
  custom: {
    50: '#dbafd8',
    500: '#ca8dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dc7;
$custom-light: #dbafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dc7",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 302.951,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72247,
    "c": 0.10663,
    "h": 328.3
  },
  "luminance": 0.3573
}

Semantic roles & 50–950 ramp

primary
#CA8DC7
secondary
#D0E3D1
accent
#AF3C36
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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