#D474CC#D474CC

#D474CC is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.6% C 0.162 H 330.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D474CC
RGBrgb(212, 116, 204)
HSLhsl(305, 53%, 64%)
HSVhsv(305, 45%, 83%)
CMYKcmyk(0%, 45.3%, 3.8%, 16.9%)
CIE-LABlab(62.38, 49.81, -29.50)
CIE-LCHlch(62.38, 57.88, 329.36°)
OKLaboklab(69.6% 0.1407 -0.0803)
OKLCHoklch(69.6% 0.162 330.3)
XYZxyz(44.2954, 30.8499, 60.7365)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474CC #74D47C
analogous
#AC74D4 #D474CC #D4749C
triadic
#D474CC #CCD474 #74CCD4
tetradic
#D474CC #D4AC74 #74D47C #749CD4
square
#D474CC #D4AC74 #74D47C #749CD4
split-complementary
#D474CC #9CD474 #74D4AC
monochromatic
#9D3194 #C645BB #D474CC #E2A3DD #F1D1EE

Accessibility & contrast

On white

2.93
#D474CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D474CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474CC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474CC#FFFFFF#000000##000000
##D474CC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FCF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#DB7C97
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d474cc;
/* rgb */ color: rgb(212, 116, 204);
/* oklch */ color: oklch(69.6% 0.162 330.3);
Tailwind
colors: {
  custom: {
    50: '#e39fdb',
    500: '#d474cc',
    950: '#000000',
  },
}
SCSS
$custom: #d474cc;
$custom-light: #e39fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d474cc",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 305,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.16197,
    "h": 330.3
  },
  "luminance": 0.30847
}

Semantic roles & 50–950 ramp

primary
#D474CC
secondary
#C1E3C4
accent
#C03225
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D474CC

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

Preview Lab → · Contrast checker → · Palette generator →

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