#D474E7#D474E7

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

Color values

HEX#D474E7
RGBrgb(212, 116, 231)
HSLhsl(290, 71%, 68%)
HSVhsv(290, 50%, 91%)
CMYKcmyk(8.2%, 49.8%, 0%, 9.4%)
CIE-LABlab(63.56, 54.75, -42.77)
CIE-LCHlch(63.56, 69.48, 322.00°)
OKLaboklab(70.86% 0.1452 -0.1183)
OKLCHoklch(70.86% 0.187 320.8)
XYZxyz(47.8189, 32.2593, 79.2936)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474E7 #87E774
analogous
#9A74E7 #D474E7 #E774C0
triadic
#D474E7 #E7D474 #74E7D4
tetradic
#D474E7 #E79A74 #87E774 #74C0E7
square
#D474E7 #E79A74 #87E774 #74C0E7
split-complementary
#D474E7 #C0E774 #74E79A
monochromatic
#A521C0 #C440DE #D474E7 #E4A8F0 #F4DCF9

Accessibility & contrast

On white

2.82
#D474E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D474E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474E7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474E7#FFFFFF#000000##000000
##D474E71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#7E9EE4
Tritanopia (blue-blind)
#D684A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d474e7;
/* rgb */ color: rgb(212, 116, 231);
/* oklch */ color: oklch(70.9% 0.187 320.8);
Tailwind
colors: {
  custom: {
    50: '#e39fef',
    500: '#d474e7',
    950: '#000000',
  },
}
SCSS
$custom: #d474e7;
$custom-light: #e39fef;
$custom-dark: #000000;
JSON
{
  "hex": "#d474e7",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 290.087,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70859,
    "c": 0.18728,
    "h": 320.8
  },
  "luminance": 0.32257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D474E7

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

Preview Lab → · Contrast checker → · Palette generator →

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