#CD7AC8#CD7AC8

#CD7AC8 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.143 H 329.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD7AC8
RGBrgb(205, 122, 200)
HSLhsl(304, 45%, 64%)
HSVhsv(304, 40%, 80%)
CMYKcmyk(0%, 40.5%, 2.4%, 19.6%)
CIE-LABlab(62.57, 43.88, -27.03)
CIE-LCHlch(62.57, 51.53, 328.37°)
OKLaboklab(69.5% 0.1231 -0.0735)
OKLCHoklch(69.5% 0.143 329.2)
XYZxyz(42.5611, 31.0704, 58.3877)
Luminance0.3107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AC8 #7ACD7F
analogous
#A97ACD #CD7AC8 #CD7A9F
triadic
#CD7AC8 #C8CD7A #7AC8CD
tetradic
#CD7AC8 #CDA97A #7ACD7F #7A9FCD
square
#CD7AC8 #CDA97A #7ACD7F #7A9FCD
split-complementary
#CD7AC8 #9FCD7A #7ACDA9
monochromatic
#95388F #BC4EB6 #CD7AC8 #DEA6DA #EED3ED

Accessibility & contrast

On white

2.91
#CD7AC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD7AC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AC8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AC8#FFFFFF#000000##000000
##CD7AC81.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#D38198
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7ac8;
/* rgb */ color: rgb(205, 122, 200);
/* oklch */ color: oklch(69.5% 0.143 329.2);
Tailwind
colors: {
  custom: {
    50: '#dea2d9',
    500: '#cd7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ac8;
$custom-light: #dea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ac8",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 303.614,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.14333,
    "h": 329.2
  },
  "luminance": 0.31068
}

Semantic roles & 50–950 ramp

primary
#CD7AC8
secondary
#C3E0C5
accent
#B9352D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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