#CD76EB#CD76EB

#CD76EB is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.5% C 0.185 H 316.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD76EB
RGBrgb(205, 118, 235)
HSLhsl(285, 75%, 69%)
HSVhsv(285, 50%, 92%)
CMYKcmyk(12.8%, 49.8%, 0%, 7.8%)
CIE-LABlab(63.29, 52.63, -45.47)
CIE-LCHlch(63.29, 69.55, 319.18°)
OKLaboklab(70.54% 0.1348 -0.1263)
OKLCHoklch(70.54% 0.185 316.9)
XYZxyz(46.6485, 31.9357, 82.2881)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76EB #94EB76
analogous
#9376EB #CD76EB #EB76CF
triadic
#CD76EB #EBCD76 #76EBCD
tetradic
#CD76EB #EB9376 #94EB76 #76CFEB
square
#CD76EB #EB9376 #94EB76 #76CFEB
split-complementary
#CD76EB #CFEB76 #76EB93
monochromatic
#9D1DC9 #BA41E3 #CD76EB #E0ABF3 #F4E1FB

Accessibility & contrast

On white

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

On black

7.39
#CD76EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76EB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76EB#FFFFFF#000000##000000
##CD76EB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#CC87A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd76eb;
/* rgb */ color: rgb(205, 118, 235);
/* oklch */ color: oklch(70.5% 0.185 316.9);
Tailwind
colors: {
  custom: {
    50: '#dea0f2',
    500: '#cd76eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd76eb;
$custom-light: #dea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76eb",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 284.615,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.18474,
    "h": 316.9
  },
  "luminance": 0.31934
}

Semantic roles & 50–950 ramp

primary
#CD76EB
secondary
#D6EFCD
accent
#D70F42
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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