#D477F0#D477F0

#D477F0 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.192 H 318.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D477F0
RGBrgb(212, 119, 240)
HSLhsl(286, 80%, 70%)
HSVhsv(286, 50%, 94%)
CMYKcmyk(11.7%, 50.4%, 0%, 5.9%)
CIE-LABlab(64.55, 55.01, -46.19)
CIE-LCHlch(64.55, 71.83, 319.98°)
OKLaboklab(71.73% 0.1422 -0.1283)
OKLCHoklch(71.73% 0.192 318)
XYZxyz(49.4742, 33.4837, 86.2781)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477F0 #93F077
analogous
#9877F0 #D477F0 #F077CF
triadic
#D477F0 #F0D477 #77F0D4
tetradic
#D477F0 #F09877 #93F077 #77CFF0
square
#D477F0 #F09877 #93F077 #77CFF0
split-complementary
#D477F0 #CFF077 #77F098
monochromatic
#A918D5 #C340EA #D477F0 #E5AEF6 #F6E3FC

Accessibility & contrast

On white

2.73
#D477F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D477F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477F0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477F0#FFFFFF#000000##000000
##D477F01.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#D489A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d477f0;
/* rgb */ color: rgb(212, 119, 240);
/* oklch */ color: oklch(71.7% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#e3a1f5',
    500: '#d477f0',
    950: '#000000',
  },
}
SCSS
$custom: #d477f0;
$custom-light: #e3a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d477f0",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 286.116,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.1915,
    "h": 318
  },
  "luminance": 0.33482
}

Semantic roles & 50–950 ramp

primary
#D477F0
secondary
#D8F2D1
accent
#DC093A
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477F0

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

Preview Lab → · Contrast checker → · Palette generator →

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