#CD76EC#CD76EC

#CD76EC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.6% C 0.186 H 316.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD76EC
RGBrgb(205, 118, 236)
HSLhsl(284, 76%, 69%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.1%, 50%, 0%, 7.5%)
CIE-LABlab(63.34, 52.84, -45.95)
CIE-LCHlch(63.34, 70.02, 318.99°)
OKLaboklab(70.59% 0.1349 -0.1277)
OKLCHoklch(70.59% 0.186 316.6)
XYZxyz(46.7934, 31.9936, 83.0511)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76EC #95EC76
analogous
#9276EC #CD76EC #EC76D0
triadic
#CD76EC #ECCD76 #76ECCD
tetradic
#CD76EC #EC9276 #95EC76 #76D0EC
square
#CD76EC #EC9276 #95EC76 #76D0EC
split-complementary
#CD76EC #D0EC76 #76EC92
monochromatic
#9D1CCB #B940E5 #CD76EC #E1ACF3 #F4E1FB

Accessibility & contrast

On white

2.84
#CD76EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76EC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76EC#FFFFFF#000000##000000
##CD76EC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#CC88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd76ec;
/* rgb */ color: rgb(205, 118, 236);
/* oklch */ color: oklch(70.6% 0.186 316.6);
Tailwind
colors: {
  custom: {
    50: '#dea0f2',
    500: '#cd76ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd76ec;
$custom-light: #dea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76ec",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 284.237,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70593,
    "c": 0.18578,
    "h": 316.6
  },
  "luminance": 0.31992
}

Semantic roles & 50–950 ramp

primary
#CD76EC
secondary
#D7F0CE
accent
#D80E43
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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