#CD8BD9#CD8BD9

#CD8BD9 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.0% C 0.131 H 321.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD8BD9
RGBrgb(205, 139, 217)
HSLhsl(291, 51%, 70%)
HSVhsv(291, 36%, 85%)
CMYKcmyk(5.5%, 35.9%, 0%, 14.9%)
CIE-LABlab(66.87, 38.01, -29.90)
CIE-LCHlch(66.87, 48.37, 321.81°)
OKLaboklab(72.96% 0.1019 -0.0818)
OKLCHoklch(72.96% 0.131 321.2)
XYZxyz(46.9323, 36.4556, 70.1966)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BD9 #97D98B
analogous
#A68BD9 #CD8BD9 #D98BBE
triadic
#CD8BD9 #D9CD8B #8BD9CD
tetradic
#CD8BD9 #D9A68B #97D98B #8BBED9
square
#CD8BD9 #D9A68B #97D98B #8BBED9
split-complementary
#CD8BD9 #BED98B #8BD9A6
monochromatic
#9E3AB0 #B95DCA #CD8BD9 #E1B9E8 #F5E7F7

Accessibility & contrast

On white

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

On black

8.29
#CD8BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BD9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BD9#FFFFFF#000000##000000
##CD8BD91.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDC
Deuteranopia (green-blind)
#92A5D7
Tritanopia (blue-blind)
#CF94A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8bd9;
/* rgb */ color: rgb(205, 139, 217);
/* oklch */ color: oklch(73.0% 0.131 321.2);
Tailwind
colors: {
  custom: {
    50: '#ddaee5',
    500: '#cd8bd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bd9;
$custom-light: #ddaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bd9",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 217
  },
  "hsl": {
    "h": 290.769,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72961,
    "c": 0.13062,
    "h": 321.2
  },
  "luminance": 0.36454
}

Semantic roles & 50–950 ramp

primary
#CD8BD9
secondary
#D8EBD5
accent
#BE273F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151015
muted
#837F84

Preview Lab

Preview with #CD8BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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