#D474E8#D474E8

#D474E8 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.188 H 320.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D474E8
RGBrgb(212, 116, 232)
HSLhsl(290, 72%, 68%)
HSVhsv(290, 50%, 91%)
CMYKcmyk(8.6%, 50%, 0%, 9%)
CIE-LABlab(63.60, 54.95, -43.25)
CIE-LCHlch(63.60, 69.93, 321.79°)
OKLaboklab(70.91% 0.1453 -0.1197)
OKLCHoklch(70.91% 0.188 320.5)
XYZxyz(47.9605, 32.3160, 80.0396)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474E8 #88E874
analogous
#9A74E8 #D474E8 #E874C2
triadic
#D474E8 #E8D474 #74E8D4
tetradic
#D474E8 #E89A74 #88E874 #74C2E8
square
#D474E8 #E89A74 #88E874 #74C2E8
split-complementary
#D474E8 #C2E874 #74E89A
monochromatic
#A620C2 #C43FDF #D474E8 #E4A9F1 #F4DDF9

Accessibility & contrast

On white

2.81
#D474E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D474E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474E8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474E8#FFFFFF#000000##000000
##D474E81.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EC
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#D684A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d474e8;
/* rgb */ color: rgb(212, 116, 232);
/* oklch */ color: oklch(70.9% 0.188 320.5);
Tailwind
colors: {
  custom: {
    50: '#e39ff0',
    500: '#d474e8',
    950: '#000000',
  },
}
SCSS
$custom: #d474e8;
$custom-light: #e39ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#d474e8",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 289.655,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70909,
    "c": 0.18826,
    "h": 320.5
  },
  "luminance": 0.32314
}

Semantic roles & 50–950 ramp

primary
#D474E8
secondary
#D0EDCA
accent
#D41233
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474E8

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

Preview Lab → · Contrast checker → · Palette generator →

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