#CD76ED#CD76ED

#CD76ED is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.187 H 316.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD76ED
RGBrgb(205, 118, 237)
HSLhsl(284, 77%, 70%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.5%, 50.2%, 0%, 7.1%)
CIE-LABlab(63.39, 53.04, -46.43)
CIE-LCHlch(63.39, 70.49, 318.80°)
OKLaboklab(70.64% 0.135 -0.1291)
OKLCHoklch(70.64% 0.187 316.3)
XYZxyz(46.9390, 32.0519, 83.8184)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76ED #96ED76
analogous
#9276ED #CD76ED #ED76D1
triadic
#CD76ED #EDCD76 #76EDCD
tetradic
#CD76ED #ED9276 #96ED76 #76D1ED
square
#CD76ED #ED9276 #96ED76 #76D1ED
split-complementary
#CD76ED #D1ED76 #76ED92
monochromatic
#9E1BCE #B940E6 #CD76ED #E1ACF4 #F4E2FB

Accessibility & contrast

On white

2.83
#CD76ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD76ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76ED
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76ED#FFFFFF#000000##000000
##CD76ED1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#CC88A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd76ed;
/* rgb */ color: rgb(205, 118, 237);
/* oklch */ color: oklch(70.6% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#dea0f3',
    500: '#cd76ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd76ed;
$custom-light: #dea0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76ed",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 283.866,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70644,
    "c": 0.18682,
    "h": 316.3
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#CD76ED
secondary
#D8F0CE
accent
#D90D43
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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