#CD7DE4#CD7DE4

#CD7DE4 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.2% C 0.166 H 318.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CD7DE4
RGBrgb(205, 125, 228)
HSLhsl(287, 66%, 69%)
HSVhsv(287, 45%, 89%)
CMYKcmyk(10.1%, 45.2%, 0%, 10.6%)
CIE-LABlab(64.36, 47.63, -39.90)
CIE-LCHlch(64.36, 62.13, 320.04°)
OKLaboklab(71.23% 0.1242 -0.1103)
OKLCHoklch(71.23% 0.166 318.4)
XYZxyz(46.5121, 33.2493, 77.3514)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DE4 #94E47D
analogous
#9A7DE4 #CD7DE4 #E47DC8
triadic
#CD7DE4 #E4CD7D #7DE4CD
tetradic
#CD7DE4 #E49A7D #94E47D #7DC8E4
square
#CD7DE4 #E49A7D #94E47D #7DC8E4
split-complementary
#CD7DE4 #C8E47D #7DE49A
monochromatic
#9D28BF #BA4AD9 #CD7DE4 #E0B0EF #F4E2F9

Accessibility & contrast

On white

2.75
#CD7DE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CD7DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DE4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DE4#FFFFFF#000000##000000
##CD7DE41.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7de4;
/* rgb */ color: rgb(205, 125, 228);
/* oklch */ color: oklch(71.2% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#dea5ed',
    500: '#cd7de4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7de4;
$custom-light: #dea5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7de4",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 286.602,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.16611,
    "h": 318.4
  },
  "luminance": 0.33248
}

Semantic roles & 50–950 ramp

primary
#CD7DE4
secondary
#D6EDCF
accent
#CD1841
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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