#CD76E7#CD76E7

#CD76E7 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.181 H 318.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CD76E7
RGBrgb(205, 118, 231)
HSLhsl(286, 70%, 68%)
HSVhsv(286, 49%, 91%)
CMYKcmyk(11.3%, 48.9%, 0%, 9.4%)
CIE-LABlab(63.10, 51.83, -43.55)
CIE-LCHlch(63.10, 67.70, 319.97°)
OKLaboklab(70.34% 0.1343 -0.1208)
OKLCHoklch(70.34% 0.181 318)
XYZxyz(46.0771, 31.7071, 79.2787)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76E7 #90E776
analogous
#9476E7 #CD76E7 #E776C8
triadic
#CD76E7 #E7CD76 #76E7CD
tetradic
#CD76E7 #E79476 #90E776 #76C8E7
square
#CD76E7 #E79476 #90E776 #76C8E7
split-complementary
#CD76E7 #C8E776 #76E794
monochromatic
#9C22C1 #BA42DE #CD76E7 #E0AAF0 #F3DEF9

Accessibility & contrast

On white

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

On black

7.34
#CD76E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76E7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76E7#FFFFFF#000000##000000
##CD76E71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd76e7;
/* rgb */ color: rgb(205, 118, 231);
/* oklch */ color: oklch(70.3% 0.181 318.0);
Tailwind
colors: {
  custom: {
    50: '#dea0ef',
    500: '#cd76e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd76e7;
$custom-light: #dea0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76e7",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 286.195,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7034,
    "c": 0.18062,
    "h": 318
  },
  "luminance": 0.31706
}

Semantic roles & 50–950 ramp

primary
#CD76E7
secondary
#D3EDCB
accent
#D2133F
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD76E7

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

Preview Lab → · Contrast checker → · Palette generator →

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