#D477FE#D477FE

#D477FE is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.5% C 0.206 H 314.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D477FE
RGBrgb(212, 119, 254)
HSLhsl(281, 99%, 73%)
HSVhsv(281, 53%, 100%)
CMYKcmyk(16.5%, 53.1%, 0%, 0.4%)
CIE-LABlab(65.24, 57.82, -52.81)
CIE-LCHlch(65.24, 78.30, 317.59°)
OKLaboklab(72.46% 0.1435 -0.1475)
OKLCHoklch(72.46% 0.206 314.2)
XYZxyz(51.6347, 34.3479, 97.6565)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477FE #A1FE77
analogous
#9077FE #D477FE #FE77E5
triadic
#D477FE #FED477 #77FED4
tetradic
#D477FE #FE9077 #A1FE77 #77E5FE
square
#D477FE #FE9077 #A1FE77 #77E5FE
split-complementary
#D477FE #E5FE77 #77FE90
monochromatic
#AC02F9 #C13AFE #D477FE #E7B4FE #F5E1FF

Accessibility & contrast

On white

2.67
#D477FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D477FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477FE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477FE#FFFFFF#000000##000000
##D477FE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#D18DB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477fe;
/* rgb */ color: rgb(212, 119, 254);
/* oklch */ color: oklch(72.5% 0.206 314.2);
Tailwind
colors: {
  custom: {
    50: '#e4a1ff',
    500: '#d477fe',
    950: '#000000',
  },
}
SCSS
$custom: #d477fe;
$custom-light: #e4a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d477fe",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 281.333,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72462,
    "c": 0.20578,
    "h": 314.2
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#D477FE
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D477FE

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

Preview Lab → · Contrast checker → · Palette generator →

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