#D477DF#D477DF

#D477DF is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.175 H 323.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D477DF
RGBrgb(212, 119, 223)
HSLhsl(294, 62%, 67%)
HSVhsv(294, 47%, 87%)
CMYKcmyk(4.9%, 46.6%, 0%, 12.5%)
CIE-LABlab(63.77, 51.73, -37.98)
CIE-LCHlch(63.77, 64.18, 323.71°)
OKLaboklab(70.9% 0.1399 -0.1046)
OKLCHoklch(70.9% 0.175 323.2)
XYZxyz(47.0661, 32.5205, 73.5956)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477DF #82DF77
analogous
#A077DF #D477DF #DF77B6
triadic
#D477DF #DFD477 #77DFD4
tetradic
#D477DF #DFA077 #82DF77 #77B6DF
square
#D477DF #DFA077 #82DF77 #77B6DF
split-complementary
#D477DF #B6DF77 #77DFA0
monochromatic
#A32AB2 #C445D3 #D477DF #E4A9EB #F3DAF6

Accessibility & contrast

On white

2.80
#D477DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D477DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477DF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477DF#FFFFFF#000000##000000
##D477DF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E3
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#D784A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d477df;
/* rgb */ color: rgb(212, 119, 223);
/* oklch */ color: oklch(70.9% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#e3a1e9',
    500: '#d477df',
    950: '#000000',
  },
}
SCSS
$custom: #d477df;
$custom-light: #e3a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d477df",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 293.654,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70899,
    "c": 0.17465,
    "h": 323.2
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#D477DF
secondary
#CCE9C8
accent
#CA1C2E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D477DF

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

Preview Lab → · Contrast checker → · Palette generator →

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