#D477E2#D477E2

#D477E2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.178 H 322.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D477E2
RGBrgb(212, 119, 226)
HSLhsl(292, 65%, 68%)
HSVhsv(292, 47%, 89%)
CMYKcmyk(6.2%, 47.3%, 0%, 11.4%)
CIE-LABlab(63.90, 52.30, -39.45)
CIE-LCHlch(63.90, 65.51, 322.97°)
OKLaboklab(71.04% 0.1404 -0.1088)
OKLCHoklch(71.04% 0.178 322.2)
XYZxyz(47.4742, 32.6837, 75.7446)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477E2 #85E277
analogous
#9F77E2 #D477E2 #E277BA
triadic
#D477E2 #E2D477 #77E2D4
tetradic
#D477E2 #E29F77 #85E277 #77BAE2
square
#D477E2 #E29F77 #85E277 #77BAE2
split-complementary
#D477E2 #BAE277 #77E29F
monochromatic
#A527B7 #C445D7 #D477E2 #E4A9ED #F4DCF8

Accessibility & contrast

On white

2.79
#D477E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D477E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477E2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477E2#FFFFFF#000000##000000
##D477E21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#839FDF
Tritanopia (blue-blind)
#D784A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d477e2;
/* rgb */ color: rgb(212, 119, 226);
/* oklch */ color: oklch(71.0% 0.178 322.2);
Tailwind
colors: {
  custom: {
    50: '#e3a1eb',
    500: '#d477e2',
    950: '#000000',
  },
}
SCSS
$custom: #d477e2;
$custom-light: #e3a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d477e2",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 292.15,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71042,
    "c": 0.17757,
    "h": 322.2
  },
  "luminance": 0.32682
}

Semantic roles & 50–950 ramp

primary
#D477E2
secondary
#CEEBCA
accent
#CD1930
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D477E2

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

Preview Lab → · Contrast checker → · Palette generator →

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