#D77AFF#D77AFF

#D77AFF is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.3% C 0.203 H 314.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D77AFF
RGBrgb(215, 122, 255)
HSLhsl(282, 100%, 74%)
HSVhsv(282, 52%, 100%)
CMYKcmyk(15.7%, 52.2%, 0%, 0%)
CIE-LABlab(66.20, 57.30, -51.81)
CIE-LCHlch(66.20, 77.25, 317.88°)
OKLaboklab(73.27% 0.1432 -0.1445)
OKLCHoklch(73.27% 0.203 314.7)
XYZxyz(53.0310, 35.5877, 98.6639)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D77AFF #A2FF7A
analogous
#957AFF #D77AFF #FF7AE5
triadic
#D77AFF #FFD77A #7AFFD7
tetradic
#D77AFF #FF957A #A2FF7A #7AE5FF
square
#D77AFF #FF957A #A2FF7A #7AE5FF
split-complementary
#D77AFF #E5FF7A #7AFF95
monochromatic
#B200FF #C53DFF #D77AFF #E9B7FF #F6E0FF

Accessibility & contrast

On white

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

On black

8.12
#D77AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D77AFF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D77AFF#FFFFFF#000000##000000
##D77AFF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d77aff;
/* rgb */ color: rgb(215, 122, 255);
/* oklch */ color: oklch(73.3% 0.203 314.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4ff',
    500: '#d77aff',
    950: '#000000',
  },
}
SCSS
$custom: #d77aff;
$custom-light: #e6a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d77aff",
  "rgb": {
    "r": 215,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 281.955,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.20346,
    "h": 314.7
  },
  "luminance": 0.35586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D77AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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