#D77AF2#D77AF2

#D77AF2 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.190 H 318.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D77AF2
RGBrgb(215, 122, 242)
HSLhsl(287, 82%, 71%)
HSVhsv(287, 50%, 95%)
CMYKcmyk(11.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(65.58, 54.70, -45.66)
CIE-LCHlch(65.58, 71.25, 320.15°)
OKLaboklab(72.6% 0.1419 -0.1267)
OKLCHoklch(72.6% 0.19 318.2)
XYZxyz(51.0087, 34.7787, 88.0132)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AF2 #95F27A
analogous
#9B7AF2 #D77AF2 #F27AD1
triadic
#D77AF2 #F2D77A #7AF2D7
tetradic
#D77AF2 #F29B7A #95F27A #7AD1F2
square
#D77AF2 #F29B7A #95F27A #7AD1F2
split-complementary
#D77AF2 #D1F27A #7AF29B
monochromatic
#AF16DC #C642ED #D77AF2 #E8B2F7 #F7E3FC

Accessibility & contrast

On white

2.64
#D77AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D77AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AF2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AF2#FFFFFF#000000##000000
##D77AF21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#80A2EF
Tritanopia (blue-blind)
#D78BAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d77af2;
/* rgb */ color: rgb(215, 122, 242);
/* oklch */ color: oklch(72.6% 0.190 318.2);
Tailwind
colors: {
  custom: {
    50: '#e5a3f7',
    500: '#d77af2',
    950: '#000000',
  },
}
SCSS
$custom: #d77af2;
$custom-light: #e5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d77af2",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 286.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.19021,
    "h": 318.2
  },
  "luminance": 0.34777
}

Semantic roles & 50–950 ramp

primary
#D77AF2
secondary
#DBF3D4
accent
#DF0737
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D77AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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