#D770F2#D770F2

#D770F2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.206 H 318.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D770F2
RGBrgb(215, 112, 242)
HSLhsl(288, 83%, 69%)
HSVhsv(288, 54%, 95%)
CMYKcmyk(11.2%, 53.7%, 0%, 5.1%)
CIE-LABlab(63.71, 59.62, -48.60)
CIE-LCHlch(63.71, 76.92, 320.82°)
OKLaboklab(71.22% 0.155 -0.1351)
OKLCHoklch(71.22% 0.206 318.9)
XYZxyz(49.8434, 32.4482, 87.6248)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770F2 #8BF270
analogous
#9670F2 #D770F2 #F270CC
triadic
#D770F2 #F2D770 #70F2D7
tetradic
#D770F2 #F29670 #8BF270 #70CCF2
square
#D770F2 #F29670 #8BF270 #70CCF2
split-complementary
#D770F2 #CCF270 #70F296
monochromatic
#AC13D4 #C738ED #D770F2 #E7A8F7 #F6E0FC

Accessibility & contrast

On white

2.80
#D770F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D770F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770F2#FFFFFF#000000##000000
##D770F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#D783A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d770f2;
/* rgb */ color: rgb(215, 112, 242);
/* oklch */ color: oklch(71.2% 0.206 318.9);
Tailwind
colors: {
  custom: {
    50: '#e69df7',
    500: '#d770f2',
    950: '#000000',
  },
}
SCSS
$custom: #d770f2;
$custom-light: #e69df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d770f2",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 287.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71223,
    "c": 0.20566,
    "h": 318.9
  },
  "luminance": 0.32446
}

Semantic roles & 50–950 ramp

primary
#D770F2
secondary
#D4F2CC
accent
#E00633
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D770F2

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

Preview Lab → · Contrast checker → · Palette generator →

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