#CD7CD4#CD7CD4

#CD7CD4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.151 H 324.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD4
RGBrgb(205, 124, 212)
HSLhsl(295, 51%, 66%)
HSVhsv(295, 42%, 83%)
CMYKcmyk(3.3%, 41.5%, 0%, 16.9%)
CIE-LABlab(63.47, 45.04, -32.38)
CIE-LCHlch(63.47, 55.47, 324.29°)
OKLaboklab(70.34% 0.1227 -0.0887)
OKLCHoklch(70.34% 0.151 324.1)
XYZxyz(44.2670, 32.1497, 66.1483)
Luminance0.3215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD4 #83D47C
analogous
#A17CD4 #CD7CD4 #D47CAF
triadic
#CD7CD4 #D4CD7C #7CD4CD
tetradic
#CD7CD4 #D4A17C #83D47C #7CAFD4
square
#CD7CD4 #D4A17C #83D47C #7CAFD4
split-complementary
#CD7CD4 #AFD47C #7CD4A1
monochromatic
#9835A1 #BB4EC5 #CD7CD4 #DFAAE3 #F0D8F2

Accessibility & contrast

On white

2.83
#CD7CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CD7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD4#FFFFFF#000000##000000
##CD7CD41.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D7
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#D0869E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd4;
/* rgb */ color: rgb(205, 124, 212);
/* oklch */ color: oklch(70.3% 0.151 324.1);
Tailwind
colors: {
  custom: {
    50: '#dea4e1',
    500: '#cd7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd4;
$custom-light: #dea4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd4",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 295.227,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.15143,
    "h": 324.1
  },
  "luminance": 0.32148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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