#D474DC#D474DC

#D474DC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.177 H 324.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D474DC
RGBrgb(212, 116, 220)
HSLhsl(295, 60%, 66%)
HSVhsv(295, 47%, 86%)
CMYKcmyk(3.6%, 47.3%, 0%, 13.7%)
CIE-LABlab(63.06, 52.68, -37.42)
CIE-LCHlch(63.06, 64.62, 324.61°)
OKLaboklab(70.33% 0.1436 -0.1029)
OKLCHoklch(70.33% 0.177 324.4)
XYZxyz(46.3139, 31.6573, 71.3672)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474DC #7CDC74
analogous
#A074DC #D474DC #DC74B0
triadic
#D474DC #DCD474 #74DCD4
tetradic
#D474DC #DCA074 #7CDC74 #74B0DC
square
#D474DC #DCA074 #7CDC74 #74B0DC
split-complementary
#D474DC #B0DC74 #74DCA0
monochromatic
#A12BAB #C543D0 #D474DC #E3A5E8 #F2D6F5

Accessibility & contrast

On white

2.86
#D474DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D474DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474DC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474DC#FFFFFF#000000##000000
##D474DC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D8809E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d474dc;
/* rgb */ color: rgb(212, 116, 220);
/* oklch */ color: oklch(70.3% 0.177 324.4);
Tailwind
colors: {
  custom: {
    50: '#e39fe7',
    500: '#d474dc',
    950: '#000000',
  },
}
SCSS
$custom: #d474dc;
$custom-light: #e39fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d474dc",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 295.385,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70328,
    "c": 0.17666,
    "h": 324.4
  },
  "luminance": 0.31655
}

Semantic roles & 50–950 ramp

primary
#D474DC
secondary
#C7E7C5
accent
#C71E2B
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474DC

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

Preview Lab → · Contrast checker → · Palette generator →

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