#D770FE#D770FE

#D770FE is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.9% C 0.217 H 315.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D770FE
RGBrgb(215, 112, 254)
HSLhsl(284, 99%, 72%)
HSVhsv(284, 56%, 100%)
CMYKcmyk(15.4%, 55.9%, 0%, 0.4%)
CIE-LABlab(64.32, 61.97, -54.25)
CIE-LCHlch(64.32, 82.36, 318.80°)
OKLaboklab(71.86% 0.1559 -0.1516)
OKLCHoklch(71.86% 0.217 315.8)
XYZxyz(51.7051, 33.1929, 97.4299)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770FE #97FE70
analogous
#9070FE #D770FE #FE70DE
triadic
#D770FE #FED770 #70FED7
tetradic
#D770FE #FE9070 #97FE70 #70DEFE
square
#D770FE #FE9070 #97FE70 #70DEFE
split-complementary
#D770FE #DEFE70 #70FE90
monochromatic
#B002F2 #C633FE #D770FE #E8ADFE #F6E1FF

Accessibility & contrast

On white

2.75
#D770FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D770FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770FE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770FE#FFFFFF#000000##000000
##D770FE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#D587AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d770fe;
/* rgb */ color: rgb(215, 112, 254);
/* oklch */ color: oklch(71.9% 0.217 315.8);
Tailwind
colors: {
  custom: {
    50: '#e69dff',
    500: '#d770fe',
    950: '#000000',
  },
}
SCSS
$custom: #d770fe;
$custom-light: #e69dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d770fe",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 283.521,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.2174,
    "h": 315.8
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

primary
#D770FE
secondary
#DDF7D3
accent
#E6003F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D770FE

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

Preview Lab → · Contrast checker → · Palette generator →

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