#CD7DE5#CD7DE5

#CD7DE5 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.167 H 318.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD7DE5
RGBrgb(205, 125, 229)
HSLhsl(286, 67%, 69%)
HSVhsv(286, 45%, 90%)
CMYKcmyk(10.5%, 45.4%, 0%, 10.2%)
CIE-LABlab(64.41, 47.83, -40.39)
CIE-LCHlch(64.41, 62.60, 319.82°)
OKLaboklab(71.28% 0.1244 -0.1117)
OKLCHoklch(71.28% 0.167 318.1)
XYZxyz(46.6514, 33.3050, 78.0846)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DE5 #95E57D
analogous
#997DE5 #CD7DE5 #E57DC9
triadic
#CD7DE5 #E5CD7D #7DE5CD
tetradic
#CD7DE5 #E5997D #95E57D #7DC9E5
square
#CD7DE5 #E5997D #95E57D #7DC9E5
split-complementary
#CD7DE5 #C9E57D #7DE599
monochromatic
#9D27C1 #B94ADB #CD7DE5 #E1B0EF #F4E3F9

Accessibility & contrast

On white

2.74
#CD7DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD7DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DE5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DE5#FFFFFF#000000##000000
##CD7DE51.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97E9
Deuteranopia (green-blind)
#829FE2
Tritanopia (blue-blind)
#CD8BA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7de5;
/* rgb */ color: rgb(205, 125, 229);
/* oklch */ color: oklch(71.3% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#dea5ed',
    500: '#cd7de5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7de5;
$custom-light: #dea5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7de5",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 286.154,
    "s": 66.667,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.16715,
    "h": 318.1
  },
  "luminance": 0.33304
}

Semantic roles & 50–950 ramp

primary
#CD7DE5
secondary
#D7EED0
accent
#CF1741
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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