#D474F4#D474F4

#D474F4 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.5% C 0.200 H 317.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D474F4
RGBrgb(212, 116, 244)
HSLhsl(285, 85%, 71%)
HSVhsv(285, 52%, 96%)
CMYKcmyk(13.1%, 52.5%, 0%, 4.3%)
CIE-LABlab(64.18, 57.29, -48.99)
CIE-LCHlch(64.18, 75.38, 319.46°)
OKLaboklab(71.52% 0.1466 -0.1363)
OKLCHoklch(71.52% 0.2 317.1)
XYZxyz(49.7235, 33.0212, 89.3249)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F4 #94F474
analogous
#9474F4 #D474F4 #F474D4
triadic
#D474F4 #F4D474 #74F4D4
tetradic
#D474F4 #F49474 #94F474 #74D4F4
square
#D474F4 #F49474 #94F474 #74D4F4
split-complementary
#D474F4 #D4F474 #74F494
monochromatic
#A911DC #C23BF0 #D474F4 #E6ADF8 #F6E3FD

Accessibility & contrast

On white

2.76
#D474F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D474F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F4#FFFFFF#000000##000000
##D474F41.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F8
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#D388A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474f4;
/* rgb */ color: rgb(212, 116, 244);
/* oklch */ color: oklch(71.5% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#e49ff8',
    500: '#d474f4',
    950: '#000000',
  },
}
SCSS
$custom: #d474f4;
$custom-light: #e49ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f4",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 285,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.20018,
    "h": 317.1
  },
  "luminance": 0.33019
}

Semantic roles & 50–950 ramp

primary
#D474F4
secondary
#D9F3D1
accent
#E2043B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474F4

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

Preview Lab → · Contrast checker → · Palette generator →

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