#CD76E1#CD76E1

#CD76E1 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.174 H 319.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD76E1
RGBrgb(205, 118, 225)
HSLhsl(289, 64%, 67%)
HSVhsv(289, 48%, 88%)
CMYKcmyk(8.9%, 47.6%, 0%, 11.8%)
CIE-LABlab(62.82, 50.65, -40.64)
CIE-LCHlch(62.82, 64.94, 321.25°)
OKLaboklab(70.04% 0.1335 -0.1124)
OKLCHoklch(70.04% 0.175 319.9)
XYZxyz(45.2442, 31.3739, 74.8921)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E1 #8AE176
analogous
#9876E1 #CD76E1 #E176C0
triadic
#CD76E1 #E1CD76 #76E1CD
tetradic
#CD76E1 #E19876 #8AE176 #76C0E1
square
#CD76E1 #E19876 #8AE176 #76C0E1
split-complementary
#CD76E1 #C0E176 #76E198
monochromatic
#9B28B5 #BB44D6 #CD76E1 #DFA8EC #F2DAF7

Accessibility & contrast

On white

2.89
#CD76E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD76E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76E1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76E1#FFFFFF#000000##000000
##CD76E11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6592E5
Deuteranopia (green-blind)
#7E9BDE
Tritanopia (blue-blind)
#CE84A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd76e1;
/* rgb */ color: rgb(205, 118, 225);
/* oklch */ color: oklch(70.0% 0.174 319.9);
Tailwind
colors: {
  custom: {
    50: '#dea0eb',
    500: '#cd76e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e1;
$custom-light: #dea0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e1",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 288.785,
    "s": 64.072,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.1745,
    "h": 319.9
  },
  "luminance": 0.31372
}

Semantic roles & 50–950 ramp

primary
#CD76E1
secondary
#CFEAC9
accent
#CC1A3B
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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