#D774F6#D774F6

#D774F6 is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.0% C 0.204 H 317.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D774F6
RGBrgb(215, 116, 246)
HSLhsl(286, 88%, 71%)
HSVhsv(286, 53%, 96%)
CMYKcmyk(12.6%, 52.8%, 0%, 3.5%)
CIE-LABlab(64.64, 58.46, -49.34)
CIE-LCHlch(64.64, 76.50, 319.84°)
OKLaboklab(71.97% 0.1502 -0.1373)
OKLCHoklch(71.97% 0.204 317.6)
XYZxyz(50.9019, 33.5935, 90.9738)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D774F6 #93F674
analogous
#9674F6 #D774F6 #F674D4
triadic
#D774F6 #F6D774 #74F6D7
tetradic
#D774F6 #F69674 #93F674 #74D4F6
square
#D774F6 #F69674 #93F674 #74D4F6
split-complementary
#D774F6 #D4F674 #74F696
monochromatic
#AF0FE1 #C63BF2 #D774F6 #E8ADFA #F7E2FD

Accessibility & contrast

On white

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

On black

7.72
#D774F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D774F6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D774F6#FFFFFF#000000##000000
##D774F61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#D688AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d774f6;
/* rgb */ color: rgb(215, 116, 246);
/* oklch */ color: oklch(72.0% 0.204 317.6);
Tailwind
colors: {
  custom: {
    50: '#e6a0f9',
    500: '#d774f6',
    950: '#000000',
  },
}
SCSS
$custom: #d774f6;
$custom-light: #e6a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d774f6",
  "rgb": {
    "r": 215,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 285.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71969,
    "c": 0.20352,
    "h": 317.6
  },
  "luminance": 0.33592
}

Semantic roles & 50–950 ramp

primary
#D774F6
secondary
#DAF4D2
accent
#E40137
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D774F6

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

Preview Lab → · Contrast checker → · Palette generator →

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