#D770FC#D770FC

#D770FC is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.8% C 0.215 H 316.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D770FC
RGBrgb(215, 112, 252)
HSLhsl(284, 96%, 71%)
HSVhsv(284, 56%, 99%)
CMYKcmyk(14.7%, 55.6%, 0%, 1.2%)
CIE-LABlab(64.21, 61.58, -53.31)
CIE-LCHlch(64.21, 81.45, 319.11°)
OKLaboklab(71.76% 0.1558 -0.1488)
OKLCHoklch(71.76% 0.215 316.3)
XYZxyz(51.3866, 33.0654, 95.7520)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770FC #95FC70
analogous
#9170FC #D770FC #FC70DB
triadic
#D770FC #FCD770 #70FCD7
tetradic
#D770FC #FC9170 #95FC70 #70DBFC
square
#D770FC #FC9170 #95FC70 #70DBFC
split-complementary
#D770FC #DBFC70 #70FC91
monochromatic
#AF05ED #C634FB #D770FC #E8ACFD #F7E1FE

Accessibility & contrast

On white

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

On black

7.61
#D770FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770FC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770FC#FFFFFF#000000##000000
##D770FC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#D587AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d770fc;
/* rgb */ color: rgb(215, 112, 252);
/* oklch */ color: oklch(71.8% 0.215 316.3);
Tailwind
colors: {
  custom: {
    50: '#e69dfe',
    500: '#d770fc',
    950: '#000000',
  },
}
SCSS
$custom: #d770fc;
$custom-light: #e69dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d770fc",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 284.143,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.21543,
    "h": 316.3
  },
  "luminance": 0.33064
}

Semantic roles & 50–950 ramp

primary
#D770FC
secondary
#DBF6D2
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D770FC

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

Preview Lab → · Contrast checker → · Palette generator →

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