#CD76DC#CD76DC

#CD76DC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.8% C 0.169 H 321.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD76DC
RGBrgb(205, 118, 220)
HSLhsl(291, 59%, 66%)
HSVhsv(291, 46%, 86%)
CMYKcmyk(6.8%, 46.4%, 0%, 13.7%)
CIE-LABlab(62.60, 49.68, -38.21)
CIE-LCHlch(62.60, 62.67, 322.44°)
OKLaboklab(69.8% 0.1327 -0.1054)
OKLCHoklch(69.8% 0.169 321.6)
XYZxyz(44.5721, 31.1051, 71.3523)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76DC #85DC76
analogous
#9A76DC #CD76DC #DC76B8
triadic
#CD76DC #DCCD76 #76DCCD
tetradic
#CD76DC #DC9A76 #85DC76 #76B8DC
square
#CD76DC #DC9A76 #85DC76 #76B8DC
split-complementary
#CD76DC #B8DC76 #76DC9A
monochromatic
#992CAC #BB45D0 #CD76DC #DFA7E8 #F1D7F5

Accessibility & contrast

On white

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

On black

7.22
#CD76DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76DC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76DC#FFFFFF#000000##000000
##CD76DC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#CF839F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd76dc;
/* rgb */ color: rgb(205, 118, 220);
/* oklch */ color: oklch(69.8% 0.169 321.6);
Tailwind
colors: {
  custom: {
    50: '#dea0e7',
    500: '#cd76dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd76dc;
$custom-light: #dea0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76dc",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 291.176,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.16947,
    "h": 321.6
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

primary
#CD76DC
secondary
#CBE8C6
accent
#C71F37
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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