#D772E2#D772E2

#D772E2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.187 H 323.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D772E2
RGBrgb(215, 114, 226)
HSLhsl(294, 66%, 67%)
HSVhsv(294, 50%, 89%)
CMYKcmyk(4.9%, 49.6%, 0%, 11.4%)
CIE-LABlab(63.32, 55.62, -40.33)
CIE-LCHlch(63.32, 68.71, 324.06°)
OKLaboklab(70.69% 0.1506 -0.1112)
OKLCHoklch(70.69% 0.187 323.6)
XYZxyz(47.7678, 31.9749, 75.5924)
Luminance0.3197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772E2 #7DE272
analogous
#9F72E2 #D772E2 #E272B5
triadic
#D772E2 #E2D772 #72E2D7
tetradic
#D772E2 #E29F72 #7DE272 #72B5E2
square
#D772E2 #E29F72 #7DE272 #72B5E2
split-complementary
#D772E2 #B5E272 #72E29F
monochromatic
#A625B4 #C93FD8 #D772E2 #E5A5EC #F4D8F7

Accessibility & contrast

On white

2.84
#D772E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D772E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772E2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772E2#FFFFFF#000000##000000
##D772E21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E6
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#DA80A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d772e2;
/* rgb */ color: rgb(215, 114, 226);
/* oklch */ color: oklch(70.7% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#e59eeb',
    500: '#d772e2',
    950: '#000000',
  },
}
SCSS
$custom: #d772e2;
$custom-light: #e59eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d772e2",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 294.107,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7069,
    "c": 0.18724,
    "h": 323.6
  },
  "luminance": 0.31973
}

Semantic roles & 50–950 ramp

primary
#D772E2
secondary
#C9EAC6
accent
#CE182A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D772E2

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

Preview Lab → · Contrast checker → · Palette generator →

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