#D770F7#D770F7

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

Color values

HEX#D770F7
RGBrgb(215, 112, 247)
HSLhsl(286, 89%, 70%)
HSVhsv(286, 55%, 97%)
CMYKcmyk(13%, 54.7%, 0%, 3.1%)
CIE-LABlab(63.96, 60.59, -50.96)
CIE-LCHlch(63.96, 79.17, 319.93°)
OKLaboklab(71.49% 0.1554 -0.142)
OKLCHoklch(71.49% 0.211 317.6)
XYZxyz(50.6046, 32.7527, 91.6339)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770F7 #90F770
analogous
#9370F7 #D770F7 #F770D3
triadic
#D770F7 #F7D770 #70F7D7
tetradic
#D770F7 #F79370 #90F770 #70D3F7
square
#D770F7 #F79370 #90F770 #70D3F7
split-complementary
#D770F7 #D3F770 #70F793
monochromatic
#AE0DE0 #C736F4 #D770F7 #E7AAFA #F7E2FD

Accessibility & contrast

On white

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

On black

7.55
#D770F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770F7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770F7#FFFFFF#000000##000000
##D770F71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#D685A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d770f7;
/* rgb */ color: rgb(215, 112, 247);
/* oklch */ color: oklch(71.5% 0.211 317.6);
Tailwind
colors: {
  custom: {
    50: '#e69dfa',
    500: '#d770f7',
    950: '#000000',
  },
}
SCSS
$custom: #d770f7;
$custom-light: #e69dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d770f7",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 285.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71487,
    "c": 0.21052,
    "h": 317.6
  },
  "luminance": 0.32751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D770F7

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

Preview Lab → · Contrast checker → · Palette generator →

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