#D174DB#D174DB

#D174DB is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.9% C 0.174 H 323.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D174DB
RGBrgb(209, 116, 219)
HSLhsl(294, 59%, 66%)
HSVhsv(294, 47%, 86%)
CMYKcmyk(4.6%, 47%, 0%, 14.1%)
CIE-LABlab(62.64, 51.65, -37.54)
CIE-LCHlch(62.64, 63.85, 323.99°)
OKLaboklab(69.93% 0.14 -0.1033)
OKLCHoklch(69.93% 0.174 323.6)
XYZxyz(45.3248, 31.1626, 70.6316)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174DB #7EDB74
analogous
#9D74DB #D174DB #DB74B1
triadic
#D174DB #DBD174 #74DBD1
tetradic
#D174DB #DB9D74 #7EDB74 #74B1DB
square
#D174DB #DB9D74 #7EDB74 #74B1DB
split-complementary
#D174DB #B1DB74 #74DB9D
monochromatic
#9D2CA9 #C143CE #D174DB #E1A5E8 #F1D5F4

Accessibility & contrast

On white

2.90
#D174DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D174DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174DB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174DB#FFFFFF#000000##000000
##D174DB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DF
Deuteranopia (green-blind)
#829BD8
Tritanopia (blue-blind)
#D4809D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d174db;
/* rgb */ color: rgb(209, 116, 219);
/* oklch */ color: oklch(69.9% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#e19fe6',
    500: '#d174db',
    950: '#000000',
  },
}
SCSS
$custom: #d174db;
$custom-light: #e19fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d174db",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 294.175,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.17399,
    "h": 323.6
  },
  "luminance": 0.31161
}

Semantic roles & 50–950 ramp

primary
#D174DB
secondary
#C8E7C4
accent
#C61F2F
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D174DB

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

Preview Lab → · Contrast checker → · Palette generator →

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