#D474F8#D474F8

#D474F8 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.7% C 0.204 H 316.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D474F8
RGBrgb(212, 116, 248)
HSLhsl(284, 90%, 71%)
HSVhsv(284, 53%, 97%)
CMYKcmyk(14.5%, 53.2%, 0%, 2.7%)
CIE-LABlab(64.38, 58.08, -50.88)
CIE-LCHlch(64.38, 77.22, 318.78°)
OKLaboklab(71.73% 0.1469 -0.1418)
OKLCHoklch(71.73% 0.204 316)
XYZxyz(50.3375, 33.2668, 92.5582)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F8 #98F874
analogous
#9274F8 #D474F8 #F874DA
triadic
#D474F8 #F8D474 #74F8D4
tetradic
#D474F8 #F89274 #98F874 #74DAF8
square
#D474F8 #F89274 #98F874 #74DAF8
split-complementary
#D474F8 #DAF874 #74F892
monochromatic
#AA0CE6 #C23AF5 #D474F8 #E6AEFB #F6E2FE

Accessibility & contrast

On white

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

On black

7.65
#D474F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F8#FFFFFF#000000##000000
##D474F81.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#D289AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474f8;
/* rgb */ color: rgb(212, 116, 248);
/* oklch */ color: oklch(71.7% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#e49ffb',
    500: '#d474f8',
    950: '#000000',
  },
}
SCSS
$custom: #d474f8;
$custom-light: #e49ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f8",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 283.636,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71731,
    "c": 0.2042,
    "h": 316
  },
  "luminance": 0.33265
}

Semantic roles & 50–950 ramp

primary
#D474F8
secondary
#DCF5D3
accent
#E6003F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474F8

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

Preview Lab → · Contrast checker → · Palette generator →

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