#D474E5#D474E5

#D474E5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.185 H 321.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D474E5
RGBrgb(212, 116, 229)
HSLhsl(291, 68%, 68%)
HSVhsv(291, 49%, 90%)
CMYKcmyk(7.4%, 49.3%, 0%, 10.2%)
CIE-LABlab(63.46, 54.37, -41.80)
CIE-LCHlch(63.46, 68.59, 322.44°)
OKLaboklab(70.76% 0.1449 -0.1155)
OKLCHoklch(70.76% 0.185 321.4)
XYZxyz(47.5380, 32.1470, 77.8145)
Luminance0.3215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474E5 #85E574
analogous
#9B74E5 #D474E5 #E574BE
triadic
#D474E5 #E5D474 #74E5D4
tetradic
#D474E5 #E59B74 #85E574 #74BEE5
square
#D474E5 #E59B74 #85E574 #74BEE5
split-complementary
#D474E5 #BEE574 #74E59B
monochromatic
#A523BC #C440DB #D474E5 #E4A8EF #F4DBF8

Accessibility & contrast

On white

2.83
#D474E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D474E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474E5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474E5#FFFFFF#000000##000000
##D474E51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393E9
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#D683A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d474e5;
/* rgb */ color: rgb(212, 116, 229);
/* oklch */ color: oklch(70.8% 0.185 321.4);
Tailwind
colors: {
  custom: {
    50: '#e39fed',
    500: '#d474e5',
    950: '#000000',
  },
}
SCSS
$custom: #d474e5;
$custom-light: #e39fed;
$custom-dark: #000000;
JSON
{
  "hex": "#d474e5",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 290.973,
    "s": 68.485,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.18532,
    "h": 321.4
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#D474E5
secondary
#CEECC9
accent
#D01531
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474E5

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

Preview Lab → · Contrast checker → · Palette generator →

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