#D772F8#D772F8

#D772F8 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.8% C 0.209 H 317.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D772F8
RGBrgb(215, 114, 248)
HSLhsl(285, 91%, 71%)
HSVhsv(285, 54%, 97%)
CMYKcmyk(13.3%, 54%, 0%, 2.7%)
CIE-LABlab(64.37, 59.82, -50.86)
CIE-LCHlch(64.37, 78.52, 319.63°)
OKLaboklab(71.8% 0.153 -0.1417)
OKLCHoklch(71.8% 0.209 317.2)
XYZxyz(50.9825, 33.2608, 92.5231)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772F8 #93F872
analogous
#9472F8 #D772F8 #F872D6
triadic
#D772F8 #F8D772 #72F8D7
tetradic
#D772F8 #F89472 #93F872 #72D6F8
square
#D772F8 #F89472 #93F872 #72D6F8
split-complementary
#D772F8 #D6F872 #72F894
monochromatic
#AF0BE4 #C638F5 #D772F8 #E8ACFB #F7E2FE

Accessibility & contrast

On white

2.74
#D772F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D772F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772F8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772F8#FFFFFF#000000##000000
##D772F81.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#D687AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d772f8;
/* rgb */ color: rgb(215, 114, 248);
/* oklch */ color: oklch(71.8% 0.209 317.2);
Tailwind
colors: {
  custom: {
    50: '#e69efb',
    500: '#d772f8',
    950: '#000000',
  },
}
SCSS
$custom: #d772f8;
$custom-light: #e69efb;
$custom-dark: #000000;
JSON
{
  "hex": "#d772f8",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 285.224,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71805,
    "c": 0.20851,
    "h": 317.2
  },
  "luminance": 0.33259
}

Semantic roles & 50–950 ramp

primary
#D772F8
secondary
#DAF5D1
accent
#E60039
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772F8

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

Preview Lab → · Contrast checker → · Palette generator →

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