#CA8FD2#CA8FD2

#CA8FD2 is a light, moderate purple. Relative luminance 0.369; OKLCH L 73.0% C 0.114 H 322.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CA8FD2
RGBrgb(202, 143, 210)
HSLhsl(293, 43%, 69%)
HSVhsv(293, 32%, 82%)
CMYKcmyk(3.8%, 31.9%, 0%, 17.6%)
CIE-LABlab(67.17, 33.54, -25.58)
CIE-LCHlch(67.17, 42.18, 322.67°)
OKLaboklab(73.03% 0.0907 -0.0696)
OKLCHoklch(73.03% 0.114 322.5)
XYZxyz(45.8111, 36.8560, 65.6610)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FD2 #97D28F
analogous
#A98FD2 #CA8FD2 #D28FB9
triadic
#CA8FD2 #D2CA8F #8FD2CA
tetradic
#CA8FD2 #D2A98F #97D28F #8FB9D2
square
#CA8FD2 #D2A98F #97D28F #8FB9D2
split-complementary
#CA8FD2 #B9D28F #8FD2A9
monochromatic
#9942A5 #B563C0 #CA8FD2 #DFBBE4 #F3E6F5

Accessibility & contrast

On white

2.51
#CA8FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CA8FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FD2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FD2#FFFFFF#000000##000000
##CA8FD21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD5
Deuteranopia (green-blind)
#96A6D0
Tritanopia (blue-blind)
#CC96A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8fd2;
/* rgb */ color: rgb(202, 143, 210);
/* oklch */ color: oklch(73.0% 0.114 322.5);
Tailwind
colors: {
  custom: {
    50: '#dbb0e0',
    500: '#ca8fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fd2;
$custom-light: #dbb0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fd2",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 292.836,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7303,
    "c": 0.11433,
    "h": 322.5
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

primary
#CA8FD2
secondary
#D7E8D5
accent
#B63040
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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