#D474F9#D474F9

#D474F9 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.8% C 0.205 H 315.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D474F9
RGBrgb(212, 116, 249)
HSLhsl(283, 92%, 72%)
HSVhsv(283, 53%, 98%)
CMYKcmyk(14.9%, 53.4%, 0%, 2.4%)
CIE-LABlab(64.43, 58.28, -51.35)
CIE-LCHlch(64.43, 77.68, 318.62°)
OKLaboklab(71.78% 0.147 -0.1432)
OKLCHoklch(71.78% 0.205 315.7)
XYZxyz(50.4930, 33.3290, 93.3775)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F9 #99F974
analogous
#9274F9 #D474F9 #F974DC
triadic
#D474F9 #F9D474 #74F9D4
tetradic
#D474F9 #F99274 #99F974 #74DCF9
square
#D474F9 #F99274 #99F974 #74DCF9
split-complementary
#D474F9 #DCF974 #74F992
monochromatic
#AB0AE9 #C239F6 #D474F9 #E6AFFC #F6E2FE

Accessibility & contrast

On white

2.74
#D474F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D474F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F9#FFFFFF#000000##000000
##D474F91.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#D289AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474f9;
/* rgb */ color: rgb(212, 116, 249);
/* oklch */ color: oklch(71.8% 0.205 315.7);
Tailwind
colors: {
  custom: {
    50: '#e49ffc',
    500: '#d474f9',
    950: '#000000',
  },
}
SCSS
$custom: #d474f9;
$custom-light: #e49ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f9",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 283.308,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.20521,
    "h": 315.7
  },
  "luminance": 0.33327
}

Semantic roles & 50–950 ramp

primary
#D474F9
secondary
#DDF5D3
accent
#E60040
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474F9

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

Preview Lab → · Contrast checker → · Palette generator →

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