#D174F9#D174F9

#D174F9 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.4% C 0.204 H 314.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D174F9
RGBrgb(209, 116, 249)
HSLhsl(282, 92%, 72%)
HSVhsv(282, 53%, 98%)
CMYKcmyk(16.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(64.07, 57.52, -51.94)
CIE-LCHlch(64.07, 77.50, 317.92°)
OKLaboklab(71.44% 0.1435 -0.145)
OKLCHoklch(71.44% 0.204 314.7)
XYZxyz(49.6360, 32.8871, 93.3373)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174F9 #9CF974
analogous
#8F74F9 #D174F9 #F974DF
triadic
#D174F9 #F9D174 #74F9D1
tetradic
#D174F9 #F98F74 #9CF974 #74DFF9
square
#D174F9 #F98F74 #9CF974 #74DFF9
split-complementary
#D174F9 #DFF974 #74F98F
monochromatic
#A60AE9 #BE39F6 #D174F9 #E4AFFC #F5E2FE

Accessibility & contrast

On white

2.77
#D174F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D174F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174F9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174F9#FFFFFF#000000##000000
##D174F91.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#729EF6
Tritanopia (blue-blind)
#CE8AAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d174f9;
/* rgb */ color: rgb(209, 116, 249);
/* oklch */ color: oklch(71.4% 0.204 314.7);
Tailwind
colors: {
  custom: {
    50: '#e29ffc',
    500: '#d174f9',
    950: '#000000',
  },
}
SCSS
$custom: #d174f9;
$custom-light: #e29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d174f9",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 281.955,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71444,
    "c": 0.20397,
    "h": 314.7
  },
  "luminance": 0.32886
}

Semantic roles & 50–950 ramp

primary
#D174F9
secondary
#DEF5D3
accent
#E60045
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174F9

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

Preview Lab → · Contrast checker → · Palette generator →

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