#D477ED#D477ED

#D477ED is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.6% C 0.188 H 318.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D477ED
RGBrgb(212, 119, 237)
HSLhsl(287, 77%, 70%)
HSVhsv(287, 50%, 93%)
CMYKcmyk(10.5%, 49.8%, 0%, 7.1%)
CIE-LABlab(64.41, 54.42, -44.76)
CIE-LCHlch(64.41, 70.46, 320.56°)
OKLaboklab(71.58% 0.1419 -0.1241)
OKLCHoklch(71.58% 0.188 318.8)
XYZxyz(49.0322, 33.3069, 83.9504)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477ED #90ED77
analogous
#9977ED #D477ED #ED77CB
triadic
#D477ED #EDD477 #77EDD4
tetradic
#D477ED #ED9977 #90ED77 #77CBED
square
#D477ED #ED9977 #90ED77 #77CBED
split-complementary
#D477ED #CBED77 #77ED99
monochromatic
#A81BCE #C341E6 #D477ED #E5ADF4 #F6E3FB

Accessibility & contrast

On white

2.74
#D477ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D477ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477ED
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477ED#FFFFFF#000000##000000
##D477ED1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7E9FEA
Tritanopia (blue-blind)
#D488A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d477ed;
/* rgb */ color: rgb(212, 119, 237);
/* oklch */ color: oklch(71.6% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#e3a1f3',
    500: '#d477ed',
    950: '#000000',
  },
}
SCSS
$custom: #d477ed;
$custom-light: #e3a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d477ed",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 287.288,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.18848,
    "h": 318.8
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#D477ED
secondary
#D6F1CF
accent
#D90D38
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477ED

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

Preview Lab → · Contrast checker → · Palette generator →

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