#D474EE#D474EE

#D474EE is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.194 H 318.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D474EE
RGBrgb(212, 116, 238)
HSLhsl(287, 78%, 69%)
HSVhsv(287, 51%, 93%)
CMYKcmyk(10.9%, 51.3%, 0%, 6.7%)
CIE-LABlab(63.89, 56.11, -46.13)
CIE-LCHlch(63.89, 72.64, 320.57°)
OKLaboklab(71.21% 0.146 -0.1281)
OKLCHoklch(71.21% 0.194 318.7)
XYZxyz(48.8273, 32.6627, 84.6049)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474EE #8EEE74
analogous
#9774EE #D474EE #EE74CB
triadic
#D474EE #EED474 #74EED4
tetradic
#D474EE #EE9774 #8EEE74 #74CBEE
square
#D474EE #EE9774 #8EEE74 #74CBEE
split-complementary
#D474EE #CBEE74 #74EE97
monochromatic
#A819CE #C33DE7 #D474EE #E5ABF5 #F6E1FB

Accessibility & contrast

On white

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

On black

7.53
#D474EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474EE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474EE#FFFFFF#000000##000000
##D474EE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#D486A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d474ee;
/* rgb */ color: rgb(212, 116, 238);
/* oklch */ color: oklch(71.2% 0.194 318.7);
Tailwind
colors: {
  custom: {
    50: '#e49ff4',
    500: '#d474ee',
    950: '#000000',
  },
}
SCSS
$custom: #d474ee;
$custom-light: #e49ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d474ee",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 287.213,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.19419,
    "h": 318.7
  },
  "luminance": 0.32661
}

Semantic roles & 50–950 ramp

primary
#D474EE
secondary
#D5F0CD
accent
#DA0B37
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474EE

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

Preview Lab → · Contrast checker → · Palette generator →

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