#CD8DDF#CD8DDF

#CD8DDF is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.6% C 0.134 H 318.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CD8DDF
RGBrgb(205, 141, 223)
HSLhsl(287, 56%, 71%)
HSVhsv(287, 37%, 87%)
CMYKcmyk(8.1%, 36.8%, 0%, 12.5%)
CIE-LABlab(67.54, 38.12, -32.18)
CIE-LCHlch(67.54, 49.88, 319.83°)
OKLaboklab(73.55% 0.1003 -0.0882)
OKLCHoklch(73.55% 0.134 318.7)
XYZxyz(48.0192, 37.3579, 74.4790)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DDF #9FDF8D
analogous
#A48DDF #CD8DDF #DF8DC8
triadic
#CD8DDF #DFCD8D #8DDFCD
tetradic
#CD8DDF #DFA48D #9FDF8D #8DC8DF
square
#CD8DDF #DFA48D #9FDF8D #8DC8DF
split-complementary
#CD8DDF #C8DF8D #8DDFA4
monochromatic
#9F35BD #B85DD2 #CD8DDF #E2BDEC #F5E7F8

Accessibility & contrast

On white

2.48
#CD8DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CD8DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DDF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DDF#FFFFFF#000000##000000
##CD8DDF1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E2
Deuteranopia (green-blind)
#91A7DC
Tritanopia (blue-blind)
#CE97AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ddf;
/* rgb */ color: rgb(205, 141, 223);
/* oklch */ color: oklch(73.6% 0.134 318.7);
Tailwind
colors: {
  custom: {
    50: '#ddafe9',
    500: '#cd8ddf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ddf;
$custom-light: #ddafe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ddf",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 223
  },
  "hsl": {
    "h": 286.829,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73552,
    "c": 0.1336,
    "h": 318.7
  },
  "luminance": 0.37357
}

Semantic roles & 50–950 ramp

primary
#CD8DDF
secondary
#DEEFD9
accent
#C42245
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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