#CD7DD9#CD7DD9

#CD7DD9 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.155 H 322.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CD7DD9
RGBrgb(205, 125, 217)
HSLhsl(292, 55%, 67%)
HSVhsv(292, 42%, 85%)
CMYKcmyk(5.5%, 42.4%, 0%, 14.9%)
CIE-LABlab(63.88, 45.47, -34.53)
CIE-LCHlch(63.88, 57.09, 322.79°)
OKLaboklab(70.72% 0.1223 -0.0948)
OKLCHoklch(70.72% 0.155 322.2)
XYZxyz(45.0335, 32.6579, 69.5636)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DD9 #89D97D
analogous
#9F7DD9 #CD7DD9 #D97DB7
triadic
#CD7DD9 #D9CD7D #7DD9CD
tetradic
#CD7DD9 #D99F7D #89D97D #7DB7D9
square
#CD7DD9 #D99F7D #89D97D #7DB7D9
split-complementary
#CD7DD9 #B7D97D #7DD99F
monochromatic
#9A32AA #BB4ECB #CD7DD9 #DFACE7 #F1DCF5

Accessibility & contrast

On white

2.79
#CD7DD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CD7DD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DD9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DD9#FFFFFF#000000##000000
##CD7DD91.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DC
Deuteranopia (green-blind)
#879ED6
Tritanopia (blue-blind)
#CF88A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7dd9;
/* rgb */ color: rgb(205, 125, 217);
/* oklch */ color: oklch(70.7% 0.155 322.2);
Tailwind
colors: {
  custom: {
    50: '#dea4e5',
    500: '#cd7dd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dd9;
$custom-light: #dea4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dd9",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 292.174,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.15474,
    "h": 322.2
  },
  "luminance": 0.32656
}

Semantic roles & 50–950 ramp

primary
#CD7DD9
secondary
#CEE8CA
accent
#C22338
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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