#CD76E5#CD76E5

#CD76E5 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.2% C 0.179 H 318.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CD76E5
RGBrgb(205, 118, 229)
HSLhsl(287, 68%, 68%)
HSVhsv(287, 48%, 90%)
CMYKcmyk(10.5%, 48.5%, 0%, 10.2%)
CIE-LABlab(63.01, 51.44, -42.58)
CIE-LCHlch(63.01, 66.78, 320.38°)
OKLaboklab(70.24% 0.1341 -0.118)
OKLCHoklch(70.24% 0.179 318.7)
XYZxyz(45.7962, 31.5948, 77.7996)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E5 #8EE576
analogous
#9576E5 #CD76E5 #E576C5
triadic
#CD76E5 #E5CD76 #76E5CD
tetradic
#CD76E5 #E59576 #8EE576 #76C5E5
square
#CD76E5 #E59576 #8EE576 #76C5E5
split-complementary
#CD76E5 #C5E576 #76E595
monochromatic
#9C24BD #BA43DB #CD76E5 #E0A9EF #F3DDF9

Accessibility & contrast

On white

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

On black

7.32
#CD76E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76E5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76E5#FFFFFF#000000##000000
##CD76E51.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293E9
Deuteranopia (green-blind)
#7C9BE2
Tritanopia (blue-blind)
#CD85A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd76e5;
/* rgb */ color: rgb(205, 118, 229);
/* oklch */ color: oklch(70.2% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#dea0ed',
    500: '#cd76e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e5;
$custom-light: #dea0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e5",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 287.027,
    "s": 68.098,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7024,
    "c": 0.17857,
    "h": 318.7
  },
  "luminance": 0.31593
}

Semantic roles & 50–950 ramp

primary
#CD76E5
secondary
#D2ECCA
accent
#D0153E
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E5

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

Preview Lab → · Contrast checker → · Palette generator →

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