#D772FB#D772FB

#D772FB is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.0% C 0.211 H 316.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D772FB
RGBrgb(215, 114, 251)
HSLhsl(284, 94%, 72%)
HSVhsv(284, 55%, 98%)
CMYKcmyk(14.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(64.52, 60.42, -52.27)
CIE-LCHlch(64.52, 79.89, 319.13°)
OKLaboklab(71.97% 0.1532 -0.1458)
OKLCHoklch(71.97% 0.211 316.4)
XYZxyz(51.4516, 33.4485, 94.9940)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772FB #96FB72
analogous
#9372FB #D772FB #FB72DA
triadic
#D772FB #FBD772 #72FBD7
tetradic
#D772FB #FB9372 #96FB72 #72DAFB
square
#D772FB #FB9372 #96FB72 #72DAFB
split-complementary
#D772FB #DAFB72 #72FB93
monochromatic
#B007EC #C636F9 #D772FB #E8AEFD #F7E1FE

Accessibility & contrast

On white

2.73
#D772FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D772FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772FB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772FB#FFFFFF#000000##000000
##D772FB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#D588AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d772fb;
/* rgb */ color: rgb(215, 114, 251);
/* oklch */ color: oklch(72.0% 0.211 316.4);
Tailwind
colors: {
  custom: {
    50: '#e69efd',
    500: '#d772fb',
    950: '#000000',
  },
}
SCSS
$custom: #d772fb;
$custom-light: #e69efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d772fb",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 284.234,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71965,
    "c": 0.21149,
    "h": 316.4
  },
  "luminance": 0.33447
}

Semantic roles & 50–950 ramp

primary
#D772FB
secondary
#DCF6D3
accent
#E6003C
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D772FB

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

Preview Lab → · Contrast checker → · Palette generator →

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