#CD76E4#CD76E4

#CD76E4 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.178 H 319.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD76E4
RGBrgb(205, 118, 228)
HSLhsl(287, 67%, 68%)
HSVhsv(287, 48%, 89%)
CMYKcmyk(10.1%, 48.2%, 0%, 10.6%)
CIE-LABlab(62.96, 51.24, -42.10)
CIE-LCHlch(62.96, 66.32, 320.59°)
OKLaboklab(70.19% 0.1339 -0.1166)
OKLCHoklch(70.19% 0.178 319)
XYZxyz(45.6570, 31.5391, 77.0664)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E4 #8DE476
analogous
#9676E4 #CD76E4 #E476C4
triadic
#CD76E4 #E4CD76 #76E4CD
tetradic
#CD76E4 #E49676 #8DE476 #76C4E4
square
#CD76E4 #E49676 #8DE476 #76C4E4
split-complementary
#CD76E4 #C4E476 #76E496
monochromatic
#9B25BB #BA43DA #CD76E4 #E0A9EE #F2DCF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD76E4#FFFFFF#000000##000000
##CD76E41.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)
#6392E8
Deuteranopia (green-blind)
#7C9BE1
Tritanopia (blue-blind)
#CE85A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd76e4;
/* rgb */ color: rgb(205, 118, 228);
/* oklch */ color: oklch(70.2% 0.178 319.0);
Tailwind
colors: {
  custom: {
    50: '#dea0ed',
    500: '#cd76e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e4;
$custom-light: #dea0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e4",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 287.455,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.17755,
    "h": 319
  },
  "luminance": 0.31537
}

Semantic roles & 50–950 ramp

primary
#CD76E4
secondary
#D1ECCA
accent
#CF173D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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