#CD7DDE#CD7DDE

#CD7DDE is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.160 H 320.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD7DDE
RGBrgb(205, 125, 222)
HSLhsl(289, 60%, 68%)
HSVhsv(289, 44%, 87%)
CMYKcmyk(7.7%, 43.7%, 0%, 12.9%)
CIE-LABlab(64.10, 46.44, -36.98)
CIE-LCHlch(64.10, 59.37, 321.47°)
OKLaboklab(70.95% 0.1232 -0.1019)
OKLCHoklch(70.95% 0.16 320.4)
XYZxyz(45.6937, 32.9219, 73.0407)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DDE #8EDE7D
analogous
#9D7DDE #CD7DDE #DE7DBE
triadic
#CD7DDE #DECD7D #7DDECD
tetradic
#CD7DDE #DE9D7D #8EDE7D #7DBEDE
square
#CD7DDE #DE9D7D #8EDE7D #7DBEDE
split-complementary
#CD7DDE #BEDE7D #7DDE9D
monochromatic
#9C2DB3 #BA4CD2 #CD7DDE #E0AEEA #F3DFF7

Accessibility & contrast

On white

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

On black

7.58
#CD7DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DDE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DDE#FFFFFF#000000##000000
##CD7DDE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E1
Deuteranopia (green-blind)
#859EDB
Tritanopia (blue-blind)
#CE89A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7dde;
/* rgb */ color: rgb(205, 125, 222);
/* oklch */ color: oklch(70.9% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#dea4e8',
    500: '#cd7dde',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dde;
$custom-light: #dea4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dde",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 289.485,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70949,
    "c": 0.15986,
    "h": 320.4
  },
  "luminance": 0.3292
}

Semantic roles & 50–950 ramp

primary
#CD7DDE
secondary
#D2EACD
accent
#C71E3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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