#D770F1#D770F1

#D770F1 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.205 H 319.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D770F1
RGBrgb(215, 112, 241)
HSLhsl(288, 82%, 69%)
HSVhsv(288, 54%, 95%)
CMYKcmyk(10.8%, 53.5%, 0%, 5.5%)
CIE-LABlab(63.66, 59.43, -48.12)
CIE-LCHlch(63.66, 76.47, 321.00°)
OKLaboklab(71.17% 0.155 -0.1337)
OKLCHoklch(71.17% 0.205 319.2)
XYZxyz(49.6936, 32.3883, 86.8360)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770F1 #8AF170
analogous
#9770F1 #D770F1 #F170CB
triadic
#D770F1 #F1D770 #70F1D7
tetradic
#D770F1 #F19770 #8AF170 #70CBF1
square
#D770F1 #F19770 #8AF170 #70CBF1
split-complementary
#D770F1 #CBF170 #70F197
monochromatic
#AC15D2 #C738EC #D770F1 #E7A8F6 #F6DFFC

Accessibility & contrast

On white

2.81
#D770F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D770F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770F1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770F1#FFFFFF#000000##000000
##D770F11.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F5
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#D883A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d770f1;
/* rgb */ color: rgb(215, 112, 241);
/* oklch */ color: oklch(71.2% 0.205 319.2);
Tailwind
colors: {
  custom: {
    50: '#e69df6',
    500: '#d770f1',
    950: '#000000',
  },
}
SCSS
$custom: #d770f1;
$custom-light: #e69df6;
$custom-dark: #000000;
JSON
{
  "hex": "#d770f1",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 287.907,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.20469,
    "h": 319.2
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#D770F1
secondary
#D3F1CC
accent
#DF0732
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D770F1

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

Preview Lab → · Contrast checker → · Palette generator →

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