#CA8FD4#CA8FD4

#CA8FD4 is a light, moderate purple. Relative luminance 0.370; OKLCH L 73.1% C 0.116 H 321.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CA8FD4
RGBrgb(202, 143, 212)
HSLhsl(291, 45%, 70%)
HSVhsv(291, 33%, 83%)
CMYKcmyk(4.7%, 32.5%, 0%, 16.9%)
CIE-LABlab(67.24, 33.93, -26.57)
CIE-LCHlch(67.24, 43.09, 321.93°)
OKLaboklab(73.11% 0.0912 -0.0724)
OKLCHoklch(73.11% 0.116 321.6)
XYZxyz(46.0618, 36.9563, 66.9815)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FD4 #99D48F
analogous
#A88FD4 #CA8FD4 #D48FBC
triadic
#CA8FD4 #D4CA8F #8FD4CA
tetradic
#CA8FD4 #D4A88F #99D48F #8FBCD4
square
#CA8FD4 #D4A88F #99D48F #8FBCD4
split-complementary
#CA8FD4 #BCD48F #8FD4A8
monochromatic
#9941A8 #B563C3 #CA8FD4 #DFBBE5 #F4E7F6

Accessibility & contrast

On white

2.50
#CA8FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CA8FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FD4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FD4#FFFFFF#000000##000000
##CA8FD41.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD7
Deuteranopia (green-blind)
#96A6D2
Tritanopia (blue-blind)
#CC96A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8fd4;
/* rgb */ color: rgb(202, 143, 212);
/* oklch */ color: oklch(73.1% 0.116 321.6);
Tailwind
colors: {
  custom: {
    50: '#dbb0e1',
    500: '#ca8fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fd4;
$custom-light: #dbb0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fd4",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 212
  },
  "hsl": {
    "h": 291.304,
    "s": 44.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73112,
    "c": 0.11647,
    "h": 321.6
  },
  "luminance": 0.36955
}

Semantic roles & 50–950 ramp

primary
#CA8FD4
secondary
#D8E9D6
accent
#B82E42
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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