#CD7DEE#CD7DEE

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

Color values

HEX#CD7DEE
RGBrgb(205, 125, 238)
HSLhsl(282, 77%, 71%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(13.9%, 47.5%, 0%, 6.7%)
CIE-LABlab(64.82, 49.65, -44.72)
CIE-LCHlch(64.82, 66.82, 317.99°)
OKLaboklab(71.72% 0.1257 -0.1242)
OKLCHoklch(71.72% 0.177 315.3)
XYZxyz(47.9407, 33.8207, 84.8750)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DEE #9EEE7D
analogous
#947DEE #CD7DEE #EE7DD6
triadic
#CD7DEE #EECD7D #7DEECD
tetradic
#CD7DEE #EE947D #9EEE7D #7DD6EE
square
#CD7DEE #EE947D #9EEE7D #7DD6EE
split-complementary
#CD7DEE #D6EE7D #7DEE94
monochromatic
#9F1CD5 #B847E7 #CD7DEE #E2B3F5 #F5E4FB

Accessibility & contrast

On white

2.70
#CD7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CD7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DEE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DEE#FFFFFF#000000##000000
##CD7DEE1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#CB8EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7dee;
/* rgb */ color: rgb(205, 125, 238);
/* oklch */ color: oklch(71.7% 0.177 315.3);
Tailwind
colors: {
  custom: {
    50: '#dea5f4',
    500: '#cd7dee',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dee;
$custom-light: #dea5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dee",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 282.478,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.1767,
    "h": 315.3
  },
  "luminance": 0.33819
}

Semantic roles & 50–950 ramp

primary
#CD7DEE
secondary
#DDF2D5
accent
#D90C48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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