#D770F0#D770F0

#D770F0 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.1% C 0.204 H 319.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D770F0
RGBrgb(215, 112, 240)
HSLhsl(288, 81%, 69%)
HSVhsv(288, 53%, 94%)
CMYKcmyk(10.4%, 53.3%, 0%, 5.9%)
CIE-LABlab(63.61, 59.24, -47.65)
CIE-LCHlch(63.61, 76.02, 321.19°)
OKLaboklab(71.12% 0.1549 -0.1324)
OKLCHoklch(71.12% 0.204 319.5)
XYZxyz(49.5447, 32.3287, 86.0515)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770F0 #89F070
analogous
#9770F0 #D770F0 #F070C9
triadic
#D770F0 #F0D770 #70F0D7
tetradic
#D770F0 #F09770 #89F070 #70C9F0
square
#D770F0 #F09770 #89F070 #70C9F0
split-complementary
#D770F0 #C9F070 #70F097
monochromatic
#AB16D0 #C839EA #D770F0 #E6A7F6 #F6DFFC

Accessibility & contrast

On white

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

On black

7.47
#D770F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770F0
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770F0#FFFFFF#000000##000000
##D770F01.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F4
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#D883A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d770f0;
/* rgb */ color: rgb(215, 112, 240);
/* oklch */ color: oklch(71.1% 0.204 319.5);
Tailwind
colors: {
  custom: {
    50: '#e69df5',
    500: '#d770f0',
    950: '#000000',
  },
}
SCSS
$custom: #d770f0;
$custom-light: #e69df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d770f0",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 288.281,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.20373,
    "h": 319.5
  },
  "luminance": 0.32327
}

Semantic roles & 50–950 ramp

primary
#D770F0
secondary
#D2F1CB
accent
#DD0832
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D770F0

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

Preview Lab → · Contrast checker → · Palette generator →

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