#D770FB#D770FB

#D770FB is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.7% C 0.214 H 316.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D770FB
RGBrgb(215, 112, 251)
HSLhsl(284, 95%, 71%)
HSVhsv(284, 55%, 98%)
CMYKcmyk(14.3%, 55.4%, 0%, 1.6%)
CIE-LABlab(64.16, 61.38, -52.84)
CIE-LCHlch(64.16, 80.99, 319.27°)
OKLaboklab(71.7% 0.1557 -0.1475)
OKLCHoklch(71.7% 0.214 316.6)
XYZxyz(51.2285, 33.0022, 94.9196)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770FB #94FB70
analogous
#9170FB #D770FB #FB70DA
triadic
#D770FB #FBD770 #70FBD7
tetradic
#D770FB #FB9170 #94FB70 #70DAFB
square
#D770FB #FB9170 #94FB70 #70DAFB
split-complementary
#D770FB #DAFB70 #70FB91
monochromatic
#AF07EA #C634F9 #D770FB #E8ACFD #F7E1FE

Accessibility & contrast

On white

2.76
#D770FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D770FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770FB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770FB#FFFFFF#000000##000000
##D770FB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#729FF7
Tritanopia (blue-blind)
#D586AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d770fb;
/* rgb */ color: rgb(215, 112, 251);
/* oklch */ color: oklch(71.7% 0.214 316.6);
Tailwind
colors: {
  custom: {
    50: '#e69dfd',
    500: '#d770fb',
    950: '#000000',
  },
}
SCSS
$custom: #d770fb;
$custom-light: #e69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d770fb",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 284.46,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71701,
    "c": 0.21445,
    "h": 316.6
  },
  "luminance": 0.33
}

Semantic roles & 50–950 ramp

primary
#D770FB
secondary
#DBF6D1
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D770FB

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

Preview Lab → · Contrast checker → · Palette generator →

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