#CD7DED#CD7DED

#CD7DED is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.176 H 315.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CD7DED
RGBrgb(205, 125, 237)
HSLhsl(283, 76%, 71%)
HSVhsv(283, 47%, 93%)
CMYKcmyk(13.5%, 47.3%, 0%, 7.1%)
CIE-LABlab(64.77, 49.44, -44.24)
CIE-LCHlch(64.77, 66.35, 318.18°)
OKLaboklab(71.67% 0.1256 -0.1228)
OKLCHoklch(71.67% 0.176 315.6)
XYZxyz(47.7942, 33.7621, 84.1034)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DED #9DED7D
analogous
#957DED #CD7DED #ED7DD5
triadic
#CD7DED #EDCD7D #7DEDCD
tetradic
#CD7DED #ED957D #9DED7D #7DD5ED
square
#CD7DED #ED957D #9DED7D #7DD5ED
split-complementary
#CD7DED #D5ED7D #7DED95
monochromatic
#9F1DD2 #B847E6 #CD7DED #E2B3F4 #F5E4FB

Accessibility & contrast

On white

2.71
#CD7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CD7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DED
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DED#FFFFFF#000000##000000
##CD7DED1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#7E9FEA
Tritanopia (blue-blind)
#CB8DAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7ded;
/* rgb */ color: rgb(205, 125, 237);
/* oklch */ color: oklch(71.7% 0.176 315.6);
Tailwind
colors: {
  custom: {
    50: '#dea5f3',
    500: '#cd7ded',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ded;
$custom-light: #dea5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ded",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 282.857,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.17563,
    "h": 315.6
  },
  "luminance": 0.33761
}

Semantic roles & 50–950 ramp

primary
#CD7DED
secondary
#DDF2D4
accent
#D80E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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