#D474EB#D474EB

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

Color values

HEX#D474EB
RGBrgb(212, 116, 235)
HSLhsl(288, 75%, 69%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(9.8%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.74, 55.52, -44.70)
CIE-LCHlch(63.74, 71.28, 321.17°)
OKLaboklab(71.06% 0.1456 -0.1239)
OKLCHoklch(71.06% 0.191 319.6)
XYZxyz(48.3903, 32.4879, 82.3030)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474EB #8BEB74
analogous
#9974EB #D474EB #EB74C7
triadic
#D474EB #EBD474 #74EBD4
tetradic
#D474EB #EB9974 #8BEB74 #74C7EB
square
#D474EB #EB9974 #8BEB74 #74C7EB
split-complementary
#D474EB #C7EB74 #74EB99
monochromatic
#A71DC8 #C33EE3 #D474EB #E5AAF3 #F5DFFA

Accessibility & contrast

On white

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

On black

7.50
#D474EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474EB#FFFFFF#000000##000000
##D474EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d474eb;
/* rgb */ color: rgb(212, 116, 235);
/* oklch */ color: oklch(71.1% 0.191 319.6);
Tailwind
colors: {
  custom: {
    50: '#e39ff2',
    500: '#d474eb',
    950: '#000000',
  },
}
SCSS
$custom: #d474eb;
$custom-light: #e39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d474eb",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 288.403,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71059,
    "c": 0.19121,
    "h": 319.6
  },
  "luminance": 0.32486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D474EB

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

Preview Lab → · Contrast checker → · Palette generator →

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