#D474FD#D474FD

#D474FD is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.0% C 0.209 H 314.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D474FD
RGBrgb(212, 116, 253)
HSLhsl(282, 97%, 72%)
HSVhsv(282, 54%, 99%)
CMYKcmyk(16.2%, 54.2%, 0%, 0.8%)
CIE-LABlab(64.63, 59.09, -53.23)
CIE-LCHlch(64.63, 79.53, 317.99°)
OKLaboklab(72% 0.1473 -0.1487)
OKLCHoklch(72% 0.209 314.7)
XYZxyz(51.1235, 33.5812, 96.6982)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474FD #9DFD74
analogous
#9074FD #D474FD #FD74E1
triadic
#D474FD #FDD474 #74FDD4
tetradic
#D474FD #FD9074 #9DFD74 #74E1FD
square
#D474FD #FD9074 #9DFD74 #74E1FD
split-complementary
#D474FD #E1FD74 #74FD90
monochromatic
#AB03F3 #C138FC #D474FD #E7B0FE #F6E1FF

Accessibility & contrast

On white

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

On black

7.72
#D474FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474FD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474FD#FFFFFF#000000##000000
##D474FD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#D18AAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d474fd;
/* rgb */ color: rgb(212, 116, 253);
/* oklch */ color: oklch(72.0% 0.209 314.7);
Tailwind
colors: {
  custom: {
    50: '#e4a0fe',
    500: '#d474fd',
    950: '#000000',
  },
}
SCSS
$custom: #d474fd;
$custom-light: #e4a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d474fd",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 282.044,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71998,
    "c": 0.20927,
    "h": 314.7
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#D474FD
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D474FD

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

Preview Lab → · Contrast checker → · Palette generator →

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