#D477FC#D477FC

#D477FC is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.4% C 0.204 H 314.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D477FC
RGBrgb(212, 119, 252)
HSLhsl(282, 96%, 73%)
HSVhsv(282, 53%, 99%)
CMYKcmyk(15.9%, 52.8%, 0%, 1.2%)
CIE-LABlab(65.14, 57.41, -51.87)
CIE-LCHlch(65.14, 77.37, 317.90°)
OKLaboklab(72.36% 0.1434 -0.1447)
OKLCHoklch(72.36% 0.204 314.7)
XYZxyz(51.3161, 34.2205, 95.9786)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477FC #9FFC77
analogous
#9277FC #D477FC #FC77E1
triadic
#D477FC #FCD477 #77FCD4
tetradic
#D477FC #FC9277 #9FFC77 #77E1FC
square
#D477FC #FC9277 #9FFC77 #77E1FC
split-complementary
#D477FC #E1FC77 #77FC92
monochromatic
#AC05F3 #C13BFB #D477FC #E7B3FD #F6E1FE

Accessibility & contrast

On white

2.68
#D477FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D477FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477FC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477FC#FFFFFF#000000##000000
##D477FC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#D18CAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477fc;
/* rgb */ color: rgb(212, 119, 252);
/* oklch */ color: oklch(72.4% 0.204 314.7);
Tailwind
colors: {
  custom: {
    50: '#e4a1fe',
    500: '#d477fc',
    950: '#000000',
  },
}
SCSS
$custom: #d477fc;
$custom-light: #e4a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d477fc",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 281.955,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.20373,
    "h": 314.7
  },
  "luminance": 0.34219
}

Semantic roles & 50–950 ramp

primary
#D477FC
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D477FC

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

Preview Lab → · Contrast checker → · Palette generator →

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