#CD7DC8#CD7DC8

#CD7DC8 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.138 H 329.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CD7DC8
RGBrgb(205, 125, 200)
HSLhsl(304, 44%, 65%)
HSVhsv(304, 39%, 80%)
CMYKcmyk(0%, 39%, 2.4%, 19.6%)
CIE-LABlab(63.19, 42.30, -26.06)
CIE-LCHlch(63.19, 49.68, 328.36°)
OKLaboklab(69.97% 0.1186 -0.0708)
OKLCHoklch(69.97% 0.138 329.2)
XYZxyz(42.9351, 31.8185, 58.5124)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DC8 #7DCD82
analogous
#AA7DCD #CD7DC8 #CD7DA0
triadic
#CD7DC8 #C8CD7D #7DC8CD
tetradic
#CD7DC8 #CDAA7D #7DCD82 #7DA0CD
square
#CD7DC8 #CDAA7D #7DCD82 #7DA0CD
split-complementary
#CD7DC8 #A0CD7D #7DCDAA
monochromatic
#963A90 #BC51B5 #CD7DC8 #DEA9DB #EFD5ED

Accessibility & contrast

On white

2.85
#CD7DC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CD7DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DC8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DC8#FFFFFF#000000##000000
##CD7DC81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CB
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#D28399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dc8;
/* rgb */ color: rgb(205, 125, 200);
/* oklch */ color: oklch(70.0% 0.138 329.2);
Tailwind
colors: {
  custom: {
    50: '#dea4d9',
    500: '#cd7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dc8;
$custom-light: #dea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dc8",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 303.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.13812,
    "h": 329.2
  },
  "luminance": 0.31816
}

Semantic roles & 50–950 ramp

primary
#CD7DC8
secondary
#C5E1C7
accent
#B8372E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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