#D477EB#D477EB

#D477EB is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.5% C 0.186 H 319.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D477EB
RGBrgb(212, 119, 235)
HSLhsl(288, 74%, 69%)
HSVhsv(288, 49%, 92%)
CMYKcmyk(9.8%, 49.4%, 0%, 7.8%)
CIE-LABlab(64.31, 54.03, -43.80)
CIE-LCHlch(64.31, 69.55, 320.97°)
OKLaboklab(71.48% 0.1416 -0.1213)
OKLCHoklch(71.48% 0.186 319.4)
XYZxyz(48.7417, 33.1907, 82.4201)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477EB #8EEB77
analogous
#9A77EB #D477EB #EB77C8
triadic
#D477EB #EBD477 #77EBD4
tetradic
#D477EB #EB9A77 #8EEB77 #77C8EB
square
#D477EB #EB9A77 #8EEB77 #77C8EB
split-complementary
#D477EB #C8EB77 #77EB9A
monochromatic
#A81ECA #C342E3 #D477EB #E5ACF3 #F6E2FB

Accessibility & contrast

On white

2.75
#D477EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D477EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477EB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477EB#FFFFFF#000000##000000
##D477EB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#D587A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d477eb;
/* rgb */ color: rgb(212, 119, 235);
/* oklch */ color: oklch(71.5% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#e3a1f2',
    500: '#d477eb',
    950: '#000000',
  },
}
SCSS
$custom: #d477eb;
$custom-light: #e3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d477eb",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 288.103,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71481,
    "c": 0.18648,
    "h": 319.4
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#D477EB
secondary
#D5F0CE
accent
#D60F37
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477EB

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

Preview Lab → · Contrast checker → · Palette generator →

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