#D772FE#D772FE

#D772FE is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.1% C 0.214 H 315.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D772FE
RGBrgb(215, 114, 254)
HSLhsl(283, 99%, 72%)
HSVhsv(283, 55%, 100%)
CMYKcmyk(15.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(64.68, 61.01, -53.68)
CIE-LCHlch(64.68, 81.27, 318.66°)
OKLaboklab(72.13% 0.1534 -0.1499)
OKLCHoklch(72.13% 0.214 315.7)
XYZxyz(51.9283, 33.6391, 97.5043)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772FE #99FE72
analogous
#9172FE #D772FE #FE72DF
triadic
#D772FE #FED772 #72FED7
tetradic
#D772FE #FE9172 #99FE72 #72DFFE
square
#D772FE #FE9172 #99FE72 #72DFFE
split-complementary
#D772FE #DFFE72 #72FE91
monochromatic
#B002F4 #C635FE #D772FE #E8AFFE #F6E1FF

Accessibility & contrast

On white

2.72
#D772FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D772FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772FE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772FE#FFFFFF#000000##000000
##D772FE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#D589AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d772fe;
/* rgb */ color: rgb(215, 114, 254);
/* oklch */ color: oklch(72.1% 0.214 315.7);
Tailwind
colors: {
  custom: {
    50: '#e69fff',
    500: '#d772fe',
    950: '#000000',
  },
}
SCSS
$custom: #d772fe;
$custom-light: #e69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d772fe",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 283.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.21446,
    "h": 315.7
  },
  "luminance": 0.33637
}

Semantic roles & 50–950 ramp

primary
#D772FE
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D772FE

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

Preview Lab → · Contrast checker → · Palette generator →

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