#D174E8#D174E8

#D174E8 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.187 H 319.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D174E8
RGBrgb(209, 116, 232)
HSLhsl(288, 72%, 68%)
HSVhsv(288, 50%, 91%)
CMYKcmyk(9.9%, 50%, 0%, 9%)
CIE-LABlab(63.24, 54.13, -43.85)
CIE-LCHlch(63.24, 69.67, 320.99°)
OKLaboklab(70.56% 0.1418 -0.1215)
OKLCHoklch(70.56% 0.187 319.4)
XYZxyz(47.1035, 31.8741, 79.9994)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174E8 #8BE874
analogous
#9774E8 #D174E8 #E874C5
triadic
#D174E8 #E8D174 #74E8D1
tetradic
#D174E8 #E89774 #8BE874 #74C5E8
square
#D174E8 #E89774 #8BE874 #74C5E8
split-complementary
#D174E8 #C5E874 #74E897
monochromatic
#A220C2 #C03FDF #D174E8 #E2A9F1 #F4DDF9

Accessibility & contrast

On white

2.85
#D174E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D174E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174E8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174E8#FFFFFF#000000##000000
##D174E81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EC
Deuteranopia (green-blind)
#7C9CE5
Tritanopia (blue-blind)
#D284A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d174e8;
/* rgb */ color: rgb(209, 116, 232);
/* oklch */ color: oklch(70.6% 0.187 319.4);
Tailwind
colors: {
  custom: {
    50: '#e19ff0',
    500: '#d174e8',
    950: '#000000',
  },
}
SCSS
$custom: #d174e8;
$custom-light: #e19ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#d174e8",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 288.103,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.18675,
    "h": 319.4
  },
  "luminance": 0.31872
}

Semantic roles & 50–950 ramp

primary
#D174E8
secondary
#D1EDCA
accent
#D41238
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D174E8

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

Preview Lab → · Contrast checker → · Palette generator →

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