#D771F8#D771F8

#D771F8 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.7% C 0.210 H 317.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D771F8
RGBrgb(215, 113, 248)
HSLhsl(285, 91%, 71%)
HSVhsv(285, 54%, 97%)
CMYKcmyk(13.3%, 54.4%, 0%, 2.7%)
CIE-LABlab(64.19, 60.31, -51.15)
CIE-LCHlch(64.19, 79.08, 319.70°)
OKLaboklab(71.67% 0.1542 -0.1425)
OKLCHoklch(71.67% 0.21 317.3)
XYZxyz(50.8703, 33.0365, 92.4858)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771F8 #92F871
analogous
#9371F8 #D771F8 #F871D6
triadic
#D771F8 #F8D771 #71F8D7
tetradic
#D771F8 #F89371 #92F871 #71D6F8
square
#D771F8 #F89371 #92F871 #71D6F8
split-complementary
#D771F8 #D6F871 #71F893
monochromatic
#AF0BE3 #C737F5 #D771F8 #E7ABFB #F7E2FE

Accessibility & contrast

On white

2.76
#D771F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D771F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D771F8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D771F8#FFFFFF#000000##000000
##D771F81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#D686AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d771f8;
/* rgb */ color: rgb(215, 113, 248);
/* oklch */ color: oklch(71.7% 0.210 317.3);
Tailwind
colors: {
  custom: {
    50: '#e69efb',
    500: '#d771f8',
    950: '#000000',
  },
}
SCSS
$custom: #d771f8;
$custom-light: #e69efb;
$custom-dark: #000000;
JSON
{
  "hex": "#d771f8",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 285.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71672,
    "c": 0.21002,
    "h": 317.3
  },
  "luminance": 0.33035
}

Semantic roles & 50–950 ramp

primary
#D771F8
secondary
#D9F5D0
accent
#E60038
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D771F8

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

Preview Lab → · Contrast checker → · Palette generator →

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