#CD76D8#CD76D8

#CD76D8 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.6% C 0.166 H 322.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD76D8
RGBrgb(205, 118, 216)
HSLhsl(293, 56%, 65%)
HSVhsv(293, 45%, 85%)
CMYKcmyk(5.1%, 45.4%, 0%, 15.3%)
CIE-LABlab(62.42, 48.92, -36.25)
CIE-LCHlch(62.42, 60.88, 323.46°)
OKLaboklab(69.61% 0.1321 -0.0997)
OKLCHoklch(69.61% 0.166 322.9)
XYZxyz(44.0487, 30.8957, 68.5956)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76D8 #81D876
analogous
#9C76D8 #CD76D8 #D876B2
triadic
#CD76D8 #D8CD76 #76D8CD
tetradic
#CD76D8 #D89C76 #81D876 #76B2D8
square
#CD76D8 #D89C76 #81D876 #76B2D8
split-complementary
#CD76D8 #B2D876 #76D89C
monochromatic
#972FA5 #BC46CA #CD76D8 #DEA6E6 #F0D5F3

Accessibility & contrast

On white

2.93
#CD76D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD76D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76D8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76D8#FFFFFF#000000##000000
##CD76D81.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A90DB
Deuteranopia (green-blind)
#829AD5
Tritanopia (blue-blind)
#D0829D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd76d8;
/* rgb */ color: rgb(205, 118, 216);
/* oklch */ color: oklch(69.6% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#dea0e4',
    500: '#cd76d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd76d8;
$custom-light: #dea0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76d8",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 293.265,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69612,
    "c": 0.1655,
    "h": 322.9
  },
  "luminance": 0.30894
}

Semantic roles & 50–950 ramp

primary
#CD76D8
secondary
#C8E5C4
accent
#C32234
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD76D8

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

Preview Lab → · Contrast checker → · Palette generator →

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