#CD76E8#CD76E8

#CD76E8 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.182 H 317.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD76E8
RGBrgb(205, 118, 232)
HSLhsl(286, 71%, 69%)
HSVhsv(286, 49%, 91%)
CMYKcmyk(11.6%, 49.1%, 0%, 9%)
CIE-LABlab(63.15, 52.03, -44.03)
CIE-LCHlch(63.15, 68.16, 319.76°)
OKLaboklab(70.39% 0.1344 -0.1221)
OKLCHoklch(70.39% 0.182 317.7)
XYZxyz(46.2187, 31.7638, 80.0247)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E8 #91E876
analogous
#9476E8 #CD76E8 #E876CA
triadic
#CD76E8 #E8CD76 #76E8CD
tetradic
#CD76E8 #E89476 #91E876 #76CAE8
square
#CD76E8 #E89476 #91E876 #76CAE8
split-complementary
#CD76E8 #CAE876 #76E894
monochromatic
#9C21C3 #BA42DF #CD76E8 #E0AAF1 #F3DFFA

Accessibility & contrast

On white

2.86
#CD76E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD76E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76E8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76E8#FFFFFF#000000##000000
##CD76E81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EC
Deuteranopia (green-blind)
#7A9CE5
Tritanopia (blue-blind)
#CD86A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd76e8;
/* rgb */ color: rgb(205, 118, 232);
/* oklch */ color: oklch(70.4% 0.182 317.7);
Tailwind
colors: {
  custom: {
    50: '#dea0f0',
    500: '#cd76e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e8;
$custom-light: #dea0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e8",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 285.789,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.18165,
    "h": 317.7
  },
  "luminance": 0.31762
}

Semantic roles & 50–950 ramp

primary
#CD76E8
secondary
#D4EECC
accent
#D31240
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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