#D474ED#D474ED

#D474ED is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.193 H 319.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D474ED
RGBrgb(212, 116, 237)
HSLhsl(288, 77%, 69%)
HSVhsv(288, 51%, 93%)
CMYKcmyk(10.5%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.84, 55.91, -45.65)
CIE-LCHlch(63.84, 72.18, 320.77°)
OKLaboklab(71.16% 0.1459 -0.1267)
OKLCHoklch(71.16% 0.193 319)
XYZxyz(48.6808, 32.6041, 83.8333)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474ED #8DED74
analogous
#9874ED #D474ED #ED74CA
triadic
#D474ED #EDD474 #74EDD4
tetradic
#D474ED #ED9874 #8DED74 #74CAED
square
#D474ED #ED9874 #8DED74 #74CAED
split-complementary
#D474ED #CAED74 #74ED98
monochromatic
#A71ACC #C33EE6 #D474ED #E5AAF4 #F6E0FB

Accessibility & contrast

On white

2.79
#D474ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D474ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474ED
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474ED#FFFFFF#000000##000000
##D474ED1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#D485A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d474ed;
/* rgb */ color: rgb(212, 116, 237);
/* oklch */ color: oklch(71.2% 0.193 319.0);
Tailwind
colors: {
  custom: {
    50: '#e39ff3',
    500: '#d474ed',
    950: '#000000',
  },
}
SCSS
$custom: #d474ed;
$custom-light: #e39ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d474ed",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 287.603,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7116,
    "c": 0.19319,
    "h": 319
  },
  "luminance": 0.32602
}

Semantic roles & 50–950 ramp

primary
#D474ED
secondary
#D4F0CD
accent
#D90C37
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474ED

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

Preview Lab → · Contrast checker → · Palette generator →

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