#CD8FD9#CD8FD9

#CD8FD9 is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.6% C 0.124 H 320.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CD8FD9
RGBrgb(205, 143, 217)
HSLhsl(290, 49%, 71%)
HSVhsv(290, 34%, 85%)
CMYKcmyk(5.5%, 34.1%, 0%, 14.9%)
CIE-LABlab(67.75, 35.85, -28.54)
CIE-LCHlch(67.75, 45.82, 321.48°)
OKLaboklab(73.63% 0.0959 -0.0779)
OKLCHoklch(73.63% 0.124 320.9)
XYZxyz(47.5221, 37.6352, 70.3932)
Luminance0.3763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FD9 #9BD98F
analogous
#A88FD9 #CD8FD9 #D98FC0
triadic
#CD8FD9 #D9CD8F #8FD9CD
tetradic
#CD8FD9 #D9A88F #9BD98F #8FC0D9
square
#CD8FD9 #D9A88F #9BD98F #8FC0D9
split-complementary
#CD8FD9 #C0D98F #8FD9A8
monochromatic
#9E3CB1 #B961C9 #CD8FD9 #E1BDE9 #F5E8F7

Accessibility & contrast

On white

2.46
#CD8FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CD8FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FD9
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FD9#FFFFFF#000000##000000
##CD8FD91.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DC
Deuteranopia (green-blind)
#95A7D7
Tritanopia (blue-blind)
#CF97AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8fd9;
/* rgb */ color: rgb(205, 143, 217);
/* oklch */ color: oklch(73.6% 0.124 320.9);
Tailwind
colors: {
  custom: {
    50: '#ddb0e5',
    500: '#cd8fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fd9;
$custom-light: #ddb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fd9",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 217
  },
  "hsl": {
    "h": 290.27,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7363,
    "c": 0.1236,
    "h": 320.9
  },
  "luminance": 0.37634
}

Semantic roles & 50–950 ramp

primary
#CD8FD9
secondary
#DBECD8
accent
#BD2941
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151015
muted
#837F84

Preview Lab

Preview with #CD8FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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