#D474EC#D474EC

#D474EC is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.192 H 319.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D474EC
RGBrgb(212, 116, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 51%, 93%)
CMYKcmyk(10.2%, 50.8%, 0%, 7.5%)
CIE-LABlab(63.79, 55.72, -45.18)
CIE-LCHlch(63.79, 71.73, 320.96°)
OKLaboklab(71.11% 0.1458 -0.1253)
OKLCHoklch(71.11% 0.192 319.3)
XYZxyz(48.5351, 32.5458, 83.0660)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474EC #8CEC74
analogous
#9874EC #D474EC #EC74C8
triadic
#D474EC #ECD474 #74ECD4
tetradic
#D474EC #EC9874 #8CEC74 #74C8EC
square
#D474EC #EC9874 #8CEC74 #74C8EC
split-complementary
#D474EC #C8EC74 #74EC98
monochromatic
#A71CCA #C33EE5 #D474EC #E5AAF3 #F5E0FB

Accessibility & contrast

On white

2.80
#D474EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D474EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474EC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474EC#FFFFFF#000000##000000
##D474EC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#D585A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d474ec;
/* rgb */ color: rgb(212, 116, 236);
/* oklch */ color: oklch(71.1% 0.192 319.3);
Tailwind
colors: {
  custom: {
    50: '#e39ff2',
    500: '#d474ec',
    950: '#000000',
  },
}
SCSS
$custom: #d474ec;
$custom-light: #e39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d474ec",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 288,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71109,
    "c": 0.19221,
    "h": 319.3
  },
  "luminance": 0.32544
}

Semantic roles & 50–950 ramp

primary
#D474EC
secondary
#D3EFCC
accent
#D80D36
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474EC

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

Preview Lab → · Contrast checker → · Palette generator →

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