#D477FA#D477FA

#D477FA is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.3% C 0.202 H 315.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D477FA
RGBrgb(212, 119, 250)
HSLhsl(283, 93%, 72%)
HSVhsv(283, 52%, 98%)
CMYKcmyk(15.2%, 52.4%, 0%, 2%)
CIE-LABlab(65.04, 57.00, -50.93)
CIE-LCHlch(65.04, 76.44, 318.22°)
OKLaboklab(72.25% 0.1432 -0.142)
OKLCHoklch(72.25% 0.202 315.2)
XYZxyz(51.0008, 34.0944, 94.3182)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477FA #9DFA77
analogous
#9277FA #D477FA #FA77DF
triadic
#D477FA #FAD477 #77FAD4
tetradic
#D477FA #FA9277 #9DFA77 #77DFFA
square
#D477FA #FA9277 #9DFA77 #77DFFA
split-complementary
#D477FA #DFFA77 #77FA92
monochromatic
#AB09EE #C13CF8 #D477FA #E7B2FC #F6E1FE

Accessibility & contrast

On white

2.69
#D477FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D477FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D477FA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477FA#FFFFFF#000000##000000
##D477FA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#D28CAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d477fa;
/* rgb */ color: rgb(212, 119, 250);
/* oklch */ color: oklch(72.3% 0.202 315.2);
Tailwind
colors: {
  custom: {
    50: '#e4a1fc',
    500: '#d477fa',
    950: '#000000',
  },
}
SCSS
$custom: #d477fa;
$custom-light: #e4a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d477fa",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 282.595,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7225,
    "c": 0.20168,
    "h": 315.2
  },
  "luminance": 0.34093
}

Semantic roles & 50–950 ramp

primary
#D477FA
secondary
#DFF6D5
accent
#E60043
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D477FA

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

Preview Lab → · Contrast checker → · Palette generator →

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