#D771FA#D771FA

#D771FA is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.8% C 0.212 H 316.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D771FA
RGBrgb(215, 113, 250)
HSLhsl(285, 93%, 71%)
HSVhsv(285, 55%, 98%)
CMYKcmyk(14%, 54.8%, 0%, 2%)
CIE-LABlab(64.29, 60.70, -52.09)
CIE-LCHlch(64.29, 79.99, 319.37°)
OKLaboklab(71.78% 0.1544 -0.1453)
OKLCHoklch(71.78% 0.212 316.7)
XYZxyz(51.1822, 33.1612, 94.1286)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D771FA #94FA71
analogous
#9271FA #D771FA #FA71D8
triadic
#D771FA #FAD771 #71FAD7
tetradic
#D771FA #FA9271 #94FA71 #71D8FA
square
#D771FA #FA9271 #94FA71 #71D8FA
split-complementary
#D771FA #D8FA71 #71FA92
monochromatic
#AF08E8 #C636F8 #D771FA #E8ACFC #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D771FA#FFFFFF#000000##000000
##D771FA1.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)
#5195FE
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#D687AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d771fa;
/* rgb */ color: rgb(215, 113, 250);
/* oklch */ color: oklch(71.8% 0.212 316.7);
Tailwind
colors: {
  custom: {
    50: '#e69efc',
    500: '#d771fa',
    950: '#000000',
  },
}
SCSS
$custom: #d771fa;
$custom-light: #e69efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d771fa",
  "rgb": {
    "r": 215,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 284.672,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.21198,
    "h": 316.7
  },
  "luminance": 0.33159
}

Semantic roles & 50–950 ramp

primary
#D771FA
secondary
#DBF5D1
accent
#E6003B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D771FA

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

Preview Lab → · Contrast checker → · Palette generator →

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