#D474FC#D474FC

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

Color values

HEX#D474FC
RGBrgb(212, 116, 252)
HSLhsl(282, 96%, 72%)
HSVhsv(282, 54%, 99%)
CMYKcmyk(15.9%, 54%, 0%, 1.2%)
CIE-LABlab(64.58, 58.89, -52.76)
CIE-LCHlch(64.58, 79.07, 318.14°)
OKLaboklab(71.94% 0.1472 -0.1473)
OKLCHoklch(71.94% 0.208 315)
XYZxyz(50.9647, 33.5176, 95.8615)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474FC #9CFC74
analogous
#9074FC #D474FC #FC74E0
triadic
#D474FC #FCD474 #74FCD4
tetradic
#D474FC #FC9074 #9CFC74 #74E0FC
square
#D474FC #FC9074 #9CFC74 #74E0FC
split-complementary
#D474FC #E0FC74 #74FC90
monochromatic
#AB05F0 #C138FB #D474FC #E7B0FD #F6E1FE

Accessibility & contrast

On white

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

On black

7.70
#D474FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474FC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474FC#FFFFFF#000000##000000
##D474FC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#D18AAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d474fc;
/* rgb */ color: rgb(212, 116, 252);
/* oklch */ color: oklch(71.9% 0.208 315.0);
Tailwind
colors: {
  custom: {
    50: '#e4a0fe',
    500: '#d474fc',
    950: '#000000',
  },
}
SCSS
$custom: #d474fc;
$custom-light: #e4a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d474fc",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 282.353,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.20825,
    "h": 315
  },
  "luminance": 0.33516
}

Semantic roles & 50–950 ramp

primary
#D474FC
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D474FC

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

Preview Lab → · Contrast checker → · Palette generator →

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