#D772F6#D772F6

#D772F6 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.7% C 0.207 H 317.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D772F6
RGBrgb(215, 114, 246)
HSLhsl(286, 88%, 71%)
HSVhsv(286, 54%, 96%)
CMYKcmyk(12.6%, 53.7%, 0%, 3.5%)
CIE-LABlab(64.27, 59.43, -49.92)
CIE-LCHlch(64.27, 77.62, 319.97°)
OKLaboklab(71.7% 0.1528 -0.139)
OKLCHoklch(71.7% 0.207 317.7)
XYZxyz(50.6739, 33.1374, 90.8978)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772F6 #91F672
analogous
#9572F6 #D772F6 #F672D3
triadic
#D772F6 #F6D772 #72F6D7
tetradic
#D772F6 #F69572 #91F672 #72D3F6
square
#D772F6 #F69572 #91F672 #72D3F6
split-complementary
#D772F6 #D3F672 #72F695
monochromatic
#AE0EDF #C738F2 #D772F6 #E7ACFA #F7E2FD

Accessibility & contrast

On white

2.75
#D772F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D772F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772F6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772F6#FFFFFF#000000##000000
##D772F61.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#D686AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d772f6;
/* rgb */ color: rgb(215, 114, 246);
/* oklch */ color: oklch(71.7% 0.207 317.7);
Tailwind
colors: {
  custom: {
    50: '#e69efa',
    500: '#d772f6',
    950: '#000000',
  },
}
SCSS
$custom: #d772f6;
$custom-light: #e69efa;
$custom-dark: #000000;
JSON
{
  "hex": "#d772f6",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 285.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.20655,
    "h": 317.7
  },
  "luminance": 0.33136
}

Semantic roles & 50–950 ramp

primary
#D772F6
secondary
#D8F4D0
accent
#E50136
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772F6

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

Preview Lab → · Contrast checker → · Palette generator →

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