#CD7DDF#CD7DDF

#CD7DDF is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.0% C 0.161 H 320.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD7DDF
RGBrgb(205, 125, 223)
HSLhsl(289, 60%, 68%)
HSVhsv(289, 44%, 87%)
CMYKcmyk(8.1%, 43.9%, 0%, 12.5%)
CIE-LABlab(64.14, 46.64, -37.47)
CIE-LCHlch(64.14, 59.82, 321.22°)
OKLaboklab(71% 0.1234 -0.1033)
OKLCHoklch(71% 0.161 320.1)
XYZxyz(45.8281, 32.9757, 73.7486)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DDF #8FDF7D
analogous
#9C7DDF #CD7DDF #DF7DC0
triadic
#CD7DDF #DFCD7D #7DDFCD
tetradic
#CD7DDF #DF9C7D #8FDF7D #7DC0DF
square
#CD7DDF #DF9C7D #8FDF7D #7DC0DF
split-complementary
#CD7DDF #C0DF7D #7DDF9C
monochromatic
#9C2DB5 #BA4CD3 #CD7DDF #E0AEEB #F3DFF7

Accessibility & contrast

On white

2.77
#CD7DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DDF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DDF#FFFFFF#000000##000000
##CD7DDF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#CE89A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ddf;
/* rgb */ color: rgb(205, 125, 223);
/* oklch */ color: oklch(71.0% 0.161 320.1);
Tailwind
colors: {
  custom: {
    50: '#dea4e9',
    500: '#cd7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ddf;
$custom-light: #dea4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ddf",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 288.98,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.1609,
    "h": 320.1
  },
  "luminance": 0.32974
}

Semantic roles & 50–950 ramp

primary
#CD7DDF
secondary
#D2EBCD
accent
#C81D3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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