#CD76E2#CD76E2

#CD76E2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.176 H 319.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CD76E2
RGBrgb(205, 118, 226)
HSLhsl(288, 65%, 67%)
HSVhsv(288, 48%, 89%)
CMYKcmyk(9.3%, 47.8%, 0%, 11.4%)
CIE-LABlab(62.87, 50.85, -41.13)
CIE-LCHlch(62.87, 65.40, 321.03°)
OKLaboklab(70.09% 0.1336 -0.1138)
OKLCHoklch(70.09% 0.176 319.6)
XYZxyz(45.3810, 31.4287, 75.6126)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E2 #8BE276
analogous
#9776E2 #CD76E2 #E276C1
triadic
#CD76E2 #E2CD76 #76E2CD
tetradic
#CD76E2 #E29776 #8BE276 #76C1E2
square
#CD76E2 #E29776 #8BE276 #76C1E2
split-complementary
#CD76E2 #C1E276 #76E297
monochromatic
#9B27B7 #BB43D7 #CD76E2 #DFA9ED #F2DBF7

Accessibility & contrast

On white

2.88
#CD76E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CD76E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76E2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76E2#FFFFFF#000000##000000
##CD76E21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#CE85A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd76e2;
/* rgb */ color: rgb(205, 118, 226);
/* oklch */ color: oklch(70.1% 0.176 319.6);
Tailwind
colors: {
  custom: {
    50: '#dea0eb',
    500: '#cd76e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e2;
$custom-light: #dea0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e2",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 288.333,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.17551,
    "h": 319.6
  },
  "luminance": 0.31427
}

Semantic roles & 50–950 ramp

primary
#CD76E2
secondary
#D0EBC9
accent
#CD193C
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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