#CD7CD3#CD7CD3

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

Color values

HEX#CD7CD3
RGBrgb(205, 124, 211)
HSLhsl(296, 50%, 66%)
HSVhsv(296, 41%, 83%)
CMYKcmyk(2.8%, 41.2%, 0%, 17.3%)
CIE-LABlab(63.42, 44.85, -31.88)
CIE-LCHlch(63.42, 55.03, 324.60°)
OKLaboklab(70.29% 0.1225 -0.0873)
OKLCHoklch(70.29% 0.15 324.5)
XYZxyz(44.1413, 32.0994, 65.4861)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD3 #82D37C
analogous
#A17CD3 #CD7CD3 #D37CAD
triadic
#CD7CD3 #D3CD7C #7CD3CD
tetradic
#CD7CD3 #D3A17C #82D37C #7CADD3
square
#CD7CD3 #D3A17C #82D37C #7CADD3
split-complementary
#CD7CD3 #ADD37C #7CD3A1
monochromatic
#98359F #BC4EC4 #CD7CD3 #DEAAE2 #F0D8F2

Accessibility & contrast

On white

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

On black

7.42
#CD7CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD3#FFFFFF#000000##000000
##CD7CD31.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D6
Deuteranopia (green-blind)
#899DD0
Tritanopia (blue-blind)
#D1859E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd3;
/* rgb */ color: rgb(205, 124, 211);
/* oklch */ color: oklch(70.3% 0.150 324.5);
Tailwind
colors: {
  custom: {
    50: '#dea4e0',
    500: '#cd7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd3;
$custom-light: #dea4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd3",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 295.862,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.15044,
    "h": 324.5
  },
  "luminance": 0.32098
}

Semantic roles & 50–950 ramp

primary
#CD7CD3
secondary
#C9E4C7
accent
#BD2833
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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