#CD7DDC#CD7DDC

#CD7DDC is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.158 H 321.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CD7DDC
RGBrgb(205, 125, 220)
HSLhsl(291, 58%, 68%)
HSVhsv(291, 43%, 86%)
CMYKcmyk(6.8%, 43.2%, 0%, 13.7%)
CIE-LABlab(64.01, 46.05, -36.00)
CIE-LCHlch(64.01, 58.45, 321.98°)
OKLaboklab(70.86% 0.1228 -0.0991)
OKLCHoklch(70.86% 0.158 321.1)
XYZxyz(45.4272, 32.8154, 71.6373)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DDC #8CDC7D
analogous
#9D7DDC #CD7DDC #DC7DBC
triadic
#CD7DDC #DCCD7D #7DDCCD
tetradic
#CD7DDC #DC9D7D #8CDC7D #7DBCDC
square
#CD7DDC #DC9D7D #8CDC7D #7DBCDC
split-complementary
#CD7DDC #BCDC7D #7DDC9D
monochromatic
#9B2FAF #BA4DCF #CD7DDC #E0ADE9 #F2DDF6

Accessibility & contrast

On white

2.78
#CD7DDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CD7DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DDC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DDC#FFFFFF#000000##000000
##CD7DDC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#CF89A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ddc;
/* rgb */ color: rgb(205, 125, 220);
/* oklch */ color: oklch(70.9% 0.158 321.1);
Tailwind
colors: {
  custom: {
    50: '#dea4e7',
    500: '#cd7ddc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ddc;
$custom-light: #dea4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ddc",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 290.526,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.15781,
    "h": 321.1
  },
  "luminance": 0.32814
}

Semantic roles & 50–950 ramp

primary
#CD7DDC
secondary
#D0E9CC
accent
#C5203A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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