#D772EF#D772EF

#D772EF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.3% C 0.200 H 319.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D772EF
RGBrgb(215, 114, 239)
HSLhsl(288, 80%, 69%)
HSVhsv(288, 52%, 94%)
CMYKcmyk(10%, 52.3%, 0%, 6.3%)
CIE-LABlab(63.93, 58.08, -46.59)
CIE-LCHlch(63.93, 74.46, 321.26°)
OKLaboklab(71.34% 0.1522 -0.1293)
OKLCHoklch(71.34% 0.2 319.6)
XYZxyz(49.6197, 32.7157, 85.3456)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772EF #8AEF72
analogous
#9972EF #D772EF #EF72C9
triadic
#D772EF #EFD772 #72EFD7
tetradic
#D772EF #EF9972 #8AEF72 #72C9EF
square
#D772EF #EF9972 #8AEF72 #72C9EF
split-complementary
#D772EF #C9EF72 #72EF99
monochromatic
#AC18CF #C73BE9 #D772EF #E7A9F5 #F6E0FB

Accessibility & contrast

On white

2.78
#D772EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D772EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772EF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772EF#FFFFFF#000000##000000
##D772EF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#D884A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d772ef;
/* rgb */ color: rgb(215, 114, 239);
/* oklch */ color: oklch(71.3% 0.200 319.6);
Tailwind
colors: {
  custom: {
    50: '#e69ef5',
    500: '#d772ef',
    950: '#000000',
  },
}
SCSS
$custom: #d772ef;
$custom-light: #e69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d772ef",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 288.48,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.1997,
    "h": 319.6
  },
  "luminance": 0.32714
}

Semantic roles & 50–950 ramp

primary
#D772EF
secondary
#D3F1CC
accent
#DC0A32
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772EF

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

Preview Lab → · Contrast checker → · Palette generator →

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