#CD8BDF#CD8BDF

#CD8BDF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.2% C 0.137 H 318.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD8BDF
RGBrgb(205, 139, 223)
HSLhsl(287, 57%, 71%)
HSVhsv(287, 38%, 87%)
CMYKcmyk(8.1%, 37.7%, 0%, 12.5%)
CIE-LABlab(67.11, 39.20, -32.86)
CIE-LCHlch(67.11, 51.15, 320.03°)
OKLaboklab(73.22% 0.1032 -0.0902)
OKLCHoklch(73.22% 0.137 318.9)
XYZxyz(47.7270, 36.7735, 74.3816)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BDF #9DDF8B
analogous
#A38BDF #CD8BDF #DF8BC7
triadic
#CD8BDF #DFCD8B #8BDFCD
tetradic
#CD8BDF #DFA38B #9DDF8B #8BC7DF
square
#CD8BDF #DFA38B #9DDF8B #8BC7DF
split-complementary
#CD8BDF #C7DF8B #8BDFA3
monochromatic
#9F34BC #B85BD2 #CD8BDF #E2BBEC #F5E7F8

Accessibility & contrast

On white

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

On black

8.35
#CD8BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BDF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BDF#FFFFFF#000000##000000
##CD8BDF1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE2
Deuteranopia (green-blind)
#90A6DC
Tritanopia (blue-blind)
#CE95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8bdf;
/* rgb */ color: rgb(205, 139, 223);
/* oklch */ color: oklch(73.2% 0.137 318.9);
Tailwind
colors: {
  custom: {
    50: '#ddaee9',
    500: '#cd8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bdf;
$custom-light: #ddaee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bdf",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 287.143,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73221,
    "c": 0.13707,
    "h": 318.9
  },
  "luminance": 0.36772
}

Semantic roles & 50–950 ramp

primary
#CD8BDF
secondary
#DDEED8
accent
#C42144
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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