#D474FA#D474FA

#D474FA is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.8% C 0.206 H 315.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D474FA
RGBrgb(212, 116, 250)
HSLhsl(283, 93%, 72%)
HSVhsv(283, 54%, 98%)
CMYKcmyk(15.2%, 53.6%, 0%, 2%)
CIE-LABlab(64.48, 58.49, -51.82)
CIE-LCHlch(64.48, 78.14, 318.46°)
OKLaboklab(71.84% 0.1471 -0.1446)
OKLCHoklch(71.84% 0.206 315.5)
XYZxyz(50.6494, 33.3915, 94.2011)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474FA #9AFA74
analogous
#9174FA #D474FA #FA74DD
triadic
#D474FA #FAD474 #74FAD4
tetradic
#D474FA #FA9174 #9AFA74 #74DDFA
square
#D474FA #FA9174 #9AFA74 #74DDFA
split-complementary
#D474FA #DDFA74 #74FA91
monochromatic
#AB08EB #C239F8 #D474FA #E6AFFC #F6E1FE

Accessibility & contrast

On white

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

On black

7.68
#D474FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474FA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474FA#FFFFFF#000000##000000
##D474FA1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#D289AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474fa;
/* rgb */ color: rgb(212, 116, 250);
/* oklch */ color: oklch(71.8% 0.206 315.5);
Tailwind
colors: {
  custom: {
    50: '#e4a0fc',
    500: '#d474fa',
    950: '#000000',
  },
}
SCSS
$custom: #d474fa;
$custom-light: #e4a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d474fa",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 282.985,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71837,
    "c": 0.20623,
    "h": 315.5
  },
  "luminance": 0.3339
}

Semantic roles & 50–950 ramp

primary
#D474FA
secondary
#DEF6D4
accent
#E60041
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474FA

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

Preview Lab → · Contrast checker → · Palette generator →

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