#CD7CD0#CD7CD0

#CD7CD0 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.2% C 0.147 H 325.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD0
RGBrgb(205, 124, 208)
HSLhsl(298, 47%, 65%)
HSVhsv(298, 40%, 82%)
CMYKcmyk(1.4%, 40.4%, 0%, 18.4%)
CIE-LABlab(63.30, 44.29, -30.39)
CIE-LCHlch(63.30, 53.72, 325.54°)
OKLaboklab(70.16% 0.1219 -0.083)
OKLCHoklch(70.16% 0.148 325.7)
XYZxyz(43.7687, 31.9504, 63.5238)
Luminance0.3195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD0 #7FD07C
analogous
#A37CD0 #CD7CD0 #D07CA9
triadic
#CD7CD0 #D0CD7C #7CD0CD
tetradic
#CD7CD0 #D0A37C #7FD07C #7CA9D0
square
#CD7CD0 #D0A37C #7FD07C #7CA9D0
split-complementary
#CD7CD0 #A9D07C #7CD0A3
monochromatic
#97379A #BC4FC0 #CD7CD0 #DEA9E0 #EFD6F0

Accessibility & contrast

On white

2.84
#CD7CD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD7CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD0#FFFFFF#000000##000000
##CD7CD01.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D3
Deuteranopia (green-blind)
#8A9DCD
Tritanopia (blue-blind)
#D1859C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7cd0;
/* rgb */ color: rgb(205, 124, 208);
/* oklch */ color: oklch(70.2% 0.147 325.7);
Tailwind
colors: {
  custom: {
    50: '#dea4de',
    500: '#cd7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd0;
$custom-light: #dea4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd0",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 297.857,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7016,
    "c": 0.1475,
    "h": 325.7
  },
  "luminance": 0.31949
}

Semantic roles & 50–950 ramp

primary
#CD7CD0
secondary
#C7E2C6
accent
#BA2B30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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