#D77AFE#D77AFE

#D77AFE is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.2% C 0.202 H 315.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D77AFE
RGBrgb(215, 122, 254)
HSLhsl(282, 99%, 74%)
HSVhsv(282, 52%, 100%)
CMYKcmyk(15.4%, 52%, 0%, 0.4%)
CIE-LABlab(66.15, 57.10, -51.34)
CIE-LCHlch(66.15, 76.78, 318.04°)
OKLaboklab(73.21% 0.1432 -0.1431)
OKLCHoklch(73.21% 0.202 315)
XYZxyz(52.8704, 35.5234, 97.8183)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AFE #A1FE7A
analogous
#957AFE #D77AFE #FE7AE3
triadic
#D77AFE #FED77A #7AFED7
tetradic
#D77AFE #FE957A #A1FE7A #7AE3FE
square
#D77AFE #FE957A #A1FE7A #7AE3FE
split-complementary
#D77AFE #E3FE7A #7AFE95
monochromatic
#B202FC #C53DFE #D77AFE #E9B7FE #F6E1FF

Accessibility & contrast

On white

2.59
#D77AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D77AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AFE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AFE#FFFFFF#000000##000000
##D77AFE1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#79A3FB
Tritanopia (blue-blind)
#D48FB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d77afe;
/* rgb */ color: rgb(215, 122, 254);
/* oklch */ color: oklch(73.2% 0.202 315.0);
Tailwind
colors: {
  custom: {
    50: '#e6a3ff',
    500: '#d77afe',
    950: '#000000',
  },
}
SCSS
$custom: #d77afe;
$custom-light: #e6a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d77afe",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 282.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.20243,
    "h": 315
  },
  "luminance": 0.35522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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