#D772E7#D772E7

#D772E7 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.192 H 322.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D772E7
RGBrgb(215, 114, 231)
HSLhsl(292, 71%, 68%)
HSVhsv(292, 51%, 91%)
CMYKcmyk(6.9%, 50.6%, 0%, 9.4%)
CIE-LABlab(63.55, 56.56, -42.75)
CIE-LCHlch(63.55, 70.90, 322.91°)
OKLaboklab(70.93% 0.1513 -0.1182)
OKLCHoklch(70.93% 0.192 322)
XYZxyz(48.4639, 32.2534, 79.2585)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772E7 #82E772
analogous
#9D72E7 #D772E7 #E772BC
triadic
#D772E7 #E7D772 #72E7D7
tetradic
#D772E7 #E79D72 #82E772 #72BCE7
square
#D772E7 #E79D72 #82E772 #72BCE7
split-complementary
#D772E7 #BCE772 #72E79D
monochromatic
#A920BE #C83EDE #D772E7 #E6A6F0 #F5DBF9

Accessibility & contrast

On white

2.82
#D772E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D772E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772E7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772E7#FFFFFF#000000##000000
##D772E71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#D981A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d772e7;
/* rgb */ color: rgb(215, 114, 231);
/* oklch */ color: oklch(70.9% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#e69eef',
    500: '#d772e7',
    950: '#000000',
  },
}
SCSS
$custom: #d772e7;
$custom-light: #e69eef;
$custom-dark: #000000;
JSON
{
  "hex": "#d772e7",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 291.795,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70934,
    "c": 0.19198,
    "h": 322
  },
  "luminance": 0.32251
}

Semantic roles & 50–950 ramp

primary
#D772E7
secondary
#CDEDC8
accent
#D3132D
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D772E7

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

Preview Lab → · Contrast checker → · Palette generator →

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