#CD76EF#CD76EF

#CD76EF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.189 H 315.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD76EF
RGBrgb(205, 118, 239)
HSLhsl(283, 79%, 70%)
HSVhsv(283, 51%, 94%)
CMYKcmyk(14.2%, 50.6%, 0%, 6.3%)
CIE-LABlab(63.48, 53.44, -47.38)
CIE-LCHlch(63.48, 71.42, 318.44°)
OKLaboklab(70.75% 0.1353 -0.1319)
OKLCHoklch(70.75% 0.189 315.7)
XYZxyz(47.2329, 32.1694, 85.3658)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76EF #98EF76
analogous
#9076EF #CD76EF #EF76D5
triadic
#CD76EF #EFCD76 #76EFCD
tetradic
#CD76EF #EF9076 #98EF76 #76D5EF
square
#CD76EF #EF9076 #98EF76 #76D5EF
split-complementary
#CD76EF #D5EF76 #76EF90
monochromatic
#9E19D2 #B93FE9 #CD76EF #E1ADF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.43
#CD76EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76EF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76EF#FFFFFF#000000##000000
##CD76EF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#CB88A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd76ef;
/* rgb */ color: rgb(205, 118, 239);
/* oklch */ color: oklch(70.7% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#dea0f5',
    500: '#cd76ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd76ef;
$custom-light: #dea0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76ef",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 283.14,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.18889,
    "h": 315.7
  },
  "luminance": 0.32168
}

Semantic roles & 50–950 ramp

primary
#CD76EF
secondary
#D9F1CF
accent
#DB0A45
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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