#CD7DD4#CD7DD4

#CD7DD4 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.5% C 0.150 H 324.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD7DD4
RGBrgb(205, 125, 212)
HSLhsl(295, 50%, 66%)
HSVhsv(295, 41%, 83%)
CMYKcmyk(3.3%, 41%, 0%, 16.9%)
CIE-LABlab(63.67, 44.52, -32.06)
CIE-LCHlch(63.67, 54.86, 324.24°)
OKLaboklab(70.49% 0.1213 -0.0878)
OKLCHoklch(70.49% 0.15 324.1)
XYZxyz(44.3930, 32.4017, 66.1903)
Luminance0.3240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DD4 #84D47D
analogous
#A17DD4 #CD7DD4 #D47DAF
triadic
#CD7DD4 #D4CD7D #7DD4CD
tetradic
#CD7DD4 #D4A17D #84D47D #7DAFD4
square
#CD7DD4 #D4A17D #84D47D #7DAFD4
split-complementary
#CD7DD4 #AFD47D #7DD4A1
monochromatic
#9935A1 #BB4FC5 #CD7DD4 #DFABE3 #F0D9F2

Accessibility & contrast

On white

2.81
#CD7DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DD4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DD4#FFFFFF#000000##000000
##CD7DD41.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#899ED1
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7dd4;
/* rgb */ color: rgb(205, 125, 212);
/* oklch */ color: oklch(70.5% 0.150 324.1);
Tailwind
colors: {
  custom: {
    50: '#dea4e1',
    500: '#cd7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dd4;
$custom-light: #dea4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dd4",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 295.172,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70492,
    "c": 0.14972,
    "h": 324.1
  },
  "luminance": 0.324
}

Semantic roles & 50–950 ramp

primary
#CD7DD4
secondary
#CAE5C8
accent
#BE2834
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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