#D477EF#D477EF

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

Color values

HEX#D477EF
RGBrgb(212, 119, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 50%, 94%)
CMYKcmyk(11.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(64.50, 54.81, -45.72)
CIE-LCHlch(64.50, 71.37, 320.17°)
OKLaboklab(71.68% 0.1421 -0.1269)
OKLCHoklch(71.68% 0.19 318.2)
XYZxyz(49.3261, 33.4245, 85.4979)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477EF #92EF77
analogous
#9877EF #D477EF #EF77CE
triadic
#D477EF #EFD477 #77EFD4
tetradic
#D477EF #EF9877 #92EF77 #77CEEF
square
#D477EF #EF9877 #92EF77 #77CEEF
split-complementary
#D477EF #CEEF77 #77EF98
monochromatic
#A919D3 #C340E9 #D477EF #E5AEF5 #F6E4FC

Accessibility & contrast

On white

2.73
#D477EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D477EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477EF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477EF#FFFFFF#000000##000000
##D477EF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#D488A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d477ef;
/* rgb */ color: rgb(212, 119, 239);
/* oklch */ color: oklch(71.7% 0.190 318.2);
Tailwind
colors: {
  custom: {
    50: '#e3a1f4',
    500: '#d477ef',
    950: '#000000',
  },
}
SCSS
$custom: #d477ef;
$custom-light: #e3a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d477ef",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 286.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.19049,
    "h": 318.2
  },
  "luminance": 0.33423
}

Semantic roles & 50–950 ramp

primary
#D477EF
secondary
#D8F2D0
accent
#DB0A39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477EF

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

Preview Lab → · Contrast checker → · Palette generator →

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