#CD76EA#CD76EA

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

Color values

HEX#CD76EA
RGBrgb(205, 118, 234)
HSLhsl(285, 73%, 69%)
HSVhsv(285, 50%, 92%)
CMYKcmyk(12.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(63.24, 52.43, -44.99)
CIE-LCHlch(63.24, 69.09, 319.37°)
OKLaboklab(70.49% 0.1347 -0.1249)
OKLCHoklch(70.49% 0.184 317.2)
XYZxyz(46.5044, 31.8780, 81.5293)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76EA #93EA76
analogous
#9376EA #CD76EA #EA76CD
triadic
#CD76EA #EACD76 #76EACD
tetradic
#CD76EA #EA9376 #93EA76 #76CDEA
square
#CD76EA #EA9376 #93EA76 #76CDEA
split-complementary
#CD76EA #CDEA76 #76EA93
monochromatic
#9D1FC7 #BA41E2 #CD76EA #E0ABF2 #F4E0FA

Accessibility & contrast

On white

2.85
#CD76EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CD76EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76EA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76EA#FFFFFF#000000##000000
##CD76EA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#CC87A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd76ea;
/* rgb */ color: rgb(205, 118, 234);
/* oklch */ color: oklch(70.5% 0.184 317.2);
Tailwind
colors: {
  custom: {
    50: '#dea0f1',
    500: '#cd76ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd76ea;
$custom-light: #dea0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76ea",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70491,
    "c": 0.18371,
    "h": 317.2
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

primary
#CD76EA
secondary
#D5EFCD
accent
#D61041
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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