#D477F3#D477F3

#D477F3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.195 H 317.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D477F3
RGBrgb(212, 119, 243)
HSLhsl(285, 84%, 71%)
HSVhsv(285, 51%, 95%)
CMYKcmyk(12.8%, 51%, 0%, 4.7%)
CIE-LABlab(64.69, 55.60, -47.62)
CIE-LCHlch(64.69, 73.21, 319.42°)
OKLaboklab(71.89% 0.1425 -0.1324)
OKLCHoklch(71.89% 0.195 317.1)
XYZxyz(49.9235, 33.6634, 88.6445)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477F3 #96F377
analogous
#9677F3 #D477F3 #F377D4
triadic
#D477F3 #F3D477 #77F3D4
tetradic
#D477F3 #F39677 #96F377 #77D4F3
square
#D477F3 #F39677 #96F377 #77D4F3
split-complementary
#D477F3 #D4F377 #77F396
monochromatic
#AA13DC #C23FEE #D477F3 #E6AFF8 #F6E3FD

Accessibility & contrast

On white

2.72
#D477F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D477F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477F3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477F3#FFFFFF#000000##000000
##D477F31.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#D38AAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d477f3;
/* rgb */ color: rgb(212, 119, 243);
/* oklch */ color: oklch(71.9% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#e4a1f7',
    500: '#d477f3',
    950: '#000000',
  },
}
SCSS
$custom: #d477f3;
$custom-light: #e4a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d477f3",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 285,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.19454,
    "h": 317.1
  },
  "luminance": 0.33662
}

Semantic roles & 50–950 ramp

primary
#D477F3
secondary
#DBF3D2
accent
#E0053C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477F3

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

Preview Lab → · Contrast checker → · Palette generator →

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