#D770F8#D770F8

#D770F8 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.5% C 0.211 H 317.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D770F8
RGBrgb(215, 112, 248)
HSLhsl(285, 91%, 71%)
HSVhsv(285, 55%, 97%)
CMYKcmyk(13.3%, 54.8%, 0%, 2.7%)
CIE-LABlab(64.01, 60.79, -51.44)
CIE-LCHlch(64.01, 79.63, 319.76°)
OKLaboklab(71.54% 0.1555 -0.1434)
OKLCHoklch(71.54% 0.212 317.3)
XYZxyz(50.7594, 32.8146, 92.4488)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770F8 #91F870
analogous
#9370F8 #D770F8 #F870D5
triadic
#D770F8 #F8D770 #70F8D7
tetradic
#D770F8 #F89370 #91F870 #70D5F8
square
#D770F8 #F89370 #91F870 #70D5F8
split-complementary
#D770F8 #D5F870 #70F893
monochromatic
#AE0BE3 #C736F5 #D770F8 #E7AAFB #F7E2FE

Accessibility & contrast

On white

2.78
#D770F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D770F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770F8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770F8#FFFFFF#000000##000000
##D770F81.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#D685AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d770f8;
/* rgb */ color: rgb(215, 112, 248);
/* oklch */ color: oklch(71.5% 0.211 317.3);
Tailwind
colors: {
  custom: {
    50: '#e69dfb',
    500: '#d770f8',
    950: '#000000',
  },
}
SCSS
$custom: #d770f8;
$custom-light: #e69dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d770f8",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 285.441,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.2115,
    "h": 317.3
  },
  "luminance": 0.32813
}

Semantic roles & 50–950 ramp

primary
#D770F8
secondary
#D8F4CF
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D770F8

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

Preview Lab → · Contrast checker → · Palette generator →

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