#D474DD#D474DD

#D474DD is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.178 H 324.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D474DD
RGBrgb(212, 116, 221)
HSLhsl(295, 61%, 66%)
HSVhsv(295, 48%, 87%)
CMYKcmyk(4.1%, 47.5%, 0%, 13.3%)
CIE-LABlab(63.10, 52.87, -37.91)
CIE-LCHlch(63.10, 65.06, 324.36°)
OKLaboklab(70.38% 0.1437 -0.1043)
OKLCHoklch(70.38% 0.178 324)
XYZxyz(46.4467, 31.7104, 72.0668)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474DD #7DDD74
analogous
#9F74DD #D474DD #DD74B1
triadic
#D474DD #DDD474 #74DDD4
tetradic
#D474DD #DD9F74 #7DDD74 #74B1DD
square
#D474DD #DD9F74 #7DDD74 #74B1DD
split-complementary
#D474DD #B1DD74 #74DD9F
monochromatic
#A12AAC #C543D1 #D474DD #E3A5E9 #F2D6F5

Accessibility & contrast

On white

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

On black

7.34
#D474DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474DD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474DD#FFFFFF#000000##000000
##D474DD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E1
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#D8809E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d474dd;
/* rgb */ color: rgb(212, 116, 221);
/* oklch */ color: oklch(70.4% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#e39fe8',
    500: '#d474dd',
    950: '#000000',
  },
}
SCSS
$custom: #d474dd;
$custom-light: #e39fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d474dd",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 294.857,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.17762,
    "h": 324
  },
  "luminance": 0.31708
}

Semantic roles & 50–950 ramp

primary
#D474DD
secondary
#C8E8C5
accent
#C81D2C
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474DD

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

Preview Lab → · Contrast checker → · Palette generator →

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