#D77AFC#D77AFC

#D77AFC is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.1% C 0.200 H 315.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D77AFC
RGBrgb(215, 122, 252)
HSLhsl(283, 96%, 73%)
HSVhsv(283, 52%, 99%)
CMYKcmyk(14.7%, 51.6%, 0%, 1.2%)
CIE-LABlab(66.06, 56.69, -50.40)
CIE-LCHlch(66.06, 75.85, 318.36°)
OKLaboklab(73.11% 0.143 -0.1404)
OKLCHoklch(73.11% 0.2 315.5)
XYZxyz(52.5518, 35.3960, 96.1404)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AFC #9FFC7A
analogous
#967AFC #D77AFC #FC7AE0
triadic
#D77AFC #FCD77A #7AFCD7
tetradic
#D77AFC #FC967A #9FFC7A #7AE0FC
square
#D77AFC #FC967A #9FFC7A #7AE0FC
split-complementary
#D77AFC #E0FC7A #7AFC96
monochromatic
#B206F6 #C53EFB #D77AFC #E9B6FD #F6E1FE

Accessibility & contrast

On white

2.60
#D77AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D77AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AFC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AFC#FFFFFF#000000##000000
##D77AFC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#D58EB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d77afc;
/* rgb */ color: rgb(215, 122, 252);
/* oklch */ color: oklch(73.1% 0.200 315.5);
Tailwind
colors: {
  custom: {
    50: '#e6a3fe',
    500: '#d77afc',
    950: '#000000',
  },
}
SCSS
$custom: #d77afc;
$custom-light: #e6a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d77afc",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 282.923,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.20038,
    "h": 315.5
  },
  "luminance": 0.35394
}

Semantic roles & 50–950 ramp

primary
#D77AFC
secondary
#DEF7D4
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D77AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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