#D474FB#D474FB

#D474FB is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 71.9% C 0.207 H 315.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D474FB
RGBrgb(212, 116, 251)
HSLhsl(283, 94%, 72%)
HSVhsv(283, 54%, 98%)
CMYKcmyk(15.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(64.53, 58.69, -52.29)
CIE-LCHlch(64.53, 78.60, 318.30°)
OKLaboklab(71.89% 0.1471 -0.1459)
OKLCHoklch(71.89% 0.207 315.2)
XYZxyz(50.8066, 33.4544, 95.0291)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474FB #9BFB74
analogous
#9174FB #D474FB #FB74DE
triadic
#D474FB #FBD474 #74FBD4
tetradic
#D474FB #FB9174 #9BFB74 #74DEFB
square
#D474FB #FB9174 #9BFB74 #74DEFB
split-complementary
#D474FB #DEFB74 #74FB91
monochromatic
#AB07EE #C239F9 #D474FB #E6AFFD #F6E1FE

Accessibility & contrast

On white

2.73
#D474FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D474FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474FB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474FB#FFFFFF#000000##000000
##D474FB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#D18AAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474fb;
/* rgb */ color: rgb(212, 116, 251);
/* oklch */ color: oklch(71.9% 0.207 315.2);
Tailwind
colors: {
  custom: {
    50: '#e4a0fd',
    500: '#d474fb',
    950: '#000000',
  },
}
SCSS
$custom: #d474fb;
$custom-light: #e4a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d474fb",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 282.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7189,
    "c": 0.20724,
    "h": 315.2
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#D474FB
secondary
#DEF6D4
accent
#E60042
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D474FB

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

Preview Lab → · Contrast checker → · Palette generator →

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