#CA8FCC#CA8FCC

#CA8FCC is a light, moderate purple. Relative luminance 0.366; OKLCH L 72.8% C 0.108 H 325.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CA8FCC
RGBrgb(202, 143, 204)
HSLhsl(298, 37%, 68%)
HSVhsv(298, 30%, 80%)
CMYKcmyk(1%, 29.9%, 0%, 20%)
CIE-LABlab(66.95, 32.39, -22.58)
CIE-LCHlch(66.95, 39.48, 325.12°)
OKLaboklab(72.79% 0.0891 -0.0612)
OKLCHoklch(72.79% 0.108 325.5)
XYZxyz(45.0776, 36.5626, 61.7978)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FCC #91CC8F
analogous
#AB8FCC #CA8FCC #CC8FAF
triadic
#CA8FCC #CCCA8F #8FCCCA
tetradic
#CA8FCC #CCAB8F #91CC8F #8FAFCC
square
#CA8FCC #CCAB8F #91CC8F #8FAFCC
split-complementary
#CA8FCC #AFCC8F #8FCCAB
monochromatic
#98469A #B665B9 #CA8FCC #DEB9DF #F2E3F2

Accessibility & contrast

On white

2.53
#CA8FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CA8FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FCC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FCC#FFFFFF#000000##000000
##CA8FCC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECE
Deuteranopia (green-blind)
#98A5CA
Tritanopia (blue-blind)
#CD95A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8fcc;
/* rgb */ color: rgb(202, 143, 204);
/* oklch */ color: oklch(72.8% 0.108 325.5);
Tailwind
colors: {
  custom: {
    50: '#dbb0db',
    500: '#ca8fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fcc;
$custom-light: #dbb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fcc",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 298.033,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.10806,
    "h": 325.5
  },
  "luminance": 0.36561
}

Semantic roles & 50–950 ramp

primary
#CA8FCC
secondary
#D3E5D2
accent
#B03539
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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