#D174F4#D174F4

#D174F4 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.199 H 316.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D174F4
RGBrgb(209, 116, 244)
HSLhsl(284, 85%, 71%)
HSVhsv(284, 52%, 96%)
CMYKcmyk(14.3%, 52.5%, 0%, 4.3%)
CIE-LABlab(63.82, 56.51, -49.58)
CIE-LCHlch(63.82, 75.17, 318.74°)
OKLaboklab(71.18% 0.1431 -0.1381)
OKLCHoklch(71.18% 0.199 316)
XYZxyz(48.8665, 32.5793, 89.2847)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174F4 #97F474
analogous
#9174F4 #D174F4 #F474D7
triadic
#D174F4 #F4D174 #74F4D1
tetradic
#D174F4 #F49174 #97F474 #74D7F4
square
#D174F4 #F49174 #97F474 #74D7F4
split-complementary
#D174F4 #D7F474 #74F491
monochromatic
#A511DC #BE3BF0 #D174F4 #E4ADF8 #F6E3FD

Accessibility & contrast

On white

2.79
#D174F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D174F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174F4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174F4#FFFFFF#000000##000000
##D174F41.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#759DF1
Tritanopia (blue-blind)
#CF88A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d174f4;
/* rgb */ color: rgb(209, 116, 244);
/* oklch */ color: oklch(71.2% 0.199 316.0);
Tailwind
colors: {
  custom: {
    50: '#e29ff8',
    500: '#d174f4',
    950: '#000000',
  },
}
SCSS
$custom: #d174f4;
$custom-light: #e29ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#d174f4",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 283.594,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.19887,
    "h": 316
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#D174F4
secondary
#DAF3D1
accent
#E20440
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174F4

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

Preview Lab → · Contrast checker → · Palette generator →

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