#D772EC#D772EC

#D772EC is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.2% C 0.197 H 320.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D772EC
RGBrgb(215, 114, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 52%, 93%)
CMYKcmyk(8.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(63.79, 57.50, -45.16)
CIE-LCHlch(63.79, 73.11, 321.86°)
OKLaboklab(71.18% 0.1519 -0.1252)
OKLCHoklch(71.18% 0.197 320.5)
XYZxyz(49.1802, 32.5399, 83.0309)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772EC #87EC72
analogous
#9A72EC #D772EC #EC72C4
triadic
#D772EC #ECD772 #72ECD7
tetradic
#D772EC #EC9A72 #87EC72 #72C4EC
square
#D772EC #EC9A72 #87EC72 #72C4EC
split-complementary
#D772EC #C4EC72 #72EC9A
monochromatic
#AB1BC9 #C83CE5 #D772EC #E6A8F3 #F6DEFB

Accessibility & contrast

On white

2.80
#D772EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D772EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772EC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772EC#FFFFFF#000000##000000
##D772EC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#D983A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d772ec;
/* rgb */ color: rgb(215, 114, 236);
/* oklch */ color: oklch(71.2% 0.197 320.5);
Tailwind
colors: {
  custom: {
    50: '#e69ef2',
    500: '#d772ec',
    950: '#000000',
  },
}
SCSS
$custom: #d772ec;
$custom-light: #e69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d772ec",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 289.672,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71184,
    "c": 0.19679,
    "h": 320.5
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#D772EC
secondary
#D1EFCB
accent
#D80D30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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