#CD7CC8#CD7CC8

#CD7CC8 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.140 H 329.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD7CC8
RGBrgb(205, 124, 200)
HSLhsl(304, 45%, 65%)
HSVhsv(304, 40%, 80%)
CMYKcmyk(0%, 39.5%, 2.4%, 19.6%)
CIE-LABlab(62.98, 42.82, -26.39)
CIE-LCHlch(62.98, 50.30, 328.36°)
OKLaboklab(69.82% 0.1201 -0.0717)
OKLCHoklch(69.82% 0.14 329.2)
XYZxyz(42.8092, 31.5666, 58.4704)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CC8 #7CCD81
analogous
#AA7CCD #CD7CC8 #CD7CA0
triadic
#CD7CC8 #C8CD7C #7CC8CD
tetradic
#CD7CC8 #CDAA7C #7CCD81 #7CA0CD
square
#CD7CC8 #CDAA7C #7CCD81 #7CA0CD
split-complementary
#CD7CC8 #A0CD7C #7CCDAA
monochromatic
#963990 #BC50B5 #CD7CC8 #DEA8DB #EFD5ED

Accessibility & contrast

On white

2.87
#CD7CC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD7CC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CC8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CC8#FFFFFF#000000##000000
##CD7CC81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CB
Deuteranopia (green-blind)
#8D9CC5
Tritanopia (blue-blind)
#D28299
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7cc8;
/* rgb */ color: rgb(205, 124, 200);
/* oklch */ color: oklch(69.8% 0.140 329.2);
Tailwind
colors: {
  custom: {
    50: '#dea4d9',
    500: '#cd7cc8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cc8;
$custom-light: #dea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cc8",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 303.704,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.13986,
    "h": 329.2
  },
  "luminance": 0.31565
}

Semantic roles & 50–950 ramp

primary
#CD7CC8
secondary
#C4E0C6
accent
#B8362E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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