#D174DF#D174DF

#D174DF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.178 H 322.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D174DF
RGBrgb(209, 116, 223)
HSLhsl(292, 63%, 66%)
HSVhsv(292, 48%, 87%)
CMYKcmyk(6.3%, 48%, 0%, 12.5%)
CIE-LABlab(62.82, 52.40, -39.49)
CIE-LCHlch(62.82, 65.62, 323.00°)
OKLaboklab(70.12% 0.1406 -0.109)
OKLCHoklch(70.12% 0.178 322.2)
XYZxyz(45.8577, 31.3758, 73.4383)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174DF #82DF74
analogous
#9C74DF #D174DF #DF74B8
triadic
#D174DF #DFD174 #74DFD1
tetradic
#D174DF #DF9C74 #82DF74 #74B8DF
square
#D174DF #DF9C74 #82DF74 #74B8DF
split-complementary
#D174DF #B8DF74 #74DF9C
monochromatic
#9E29B0 #C142D4 #D174DF #E1A6EA #F2D7F6

Accessibility & contrast

On white

2.89
#D174DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D174DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174DF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174DF#FFFFFF#000000##000000
##D174DF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#D4829F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d174df;
/* rgb */ color: rgb(209, 116, 223);
/* oklch */ color: oklch(70.1% 0.178 322.2);
Tailwind
colors: {
  custom: {
    50: '#e19fe9',
    500: '#d174df',
    950: '#000000',
  },
}
SCSS
$custom: #d174df;
$custom-light: #e19fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d174df",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 292.15,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70118,
    "c": 0.17787,
    "h": 322.2
  },
  "luminance": 0.31374
}

Semantic roles & 50–950 ramp

primary
#D174DF
secondary
#CBE9C6
accent
#CA1B32
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D174DF

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

Preview Lab → · Contrast checker → · Palette generator →

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