#D174ED#D174ED

#D174ED is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.192 H 317.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D174ED
RGBrgb(209, 116, 237)
HSLhsl(286, 77%, 69%)
HSVhsv(286, 51%, 93%)
CMYKcmyk(11.8%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.48, 55.11, -46.25)
CIE-LCHlch(63.48, 71.95, 320.00°)
OKLaboklab(70.81% 0.1424 -0.1285)
OKLCHoklch(70.81% 0.192 317.9)
XYZxyz(47.8238, 32.1622, 83.7931)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174ED #90ED74
analogous
#9574ED #D174ED #ED74CC
triadic
#D174ED #EDD174 #74EDD1
tetradic
#D174ED #ED9574 #90ED74 #74CCED
square
#D174ED #ED9574 #90ED74 #74CCED
split-complementary
#D174ED #CCED74 #74ED95
monochromatic
#A31ACC #BF3EE6 #D174ED #E3AAF4 #F5E0FB

Accessibility & contrast

On white

2.83
#D174ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D174ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174ED
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174ED#FFFFFF#000000##000000
##D174ED1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#D186A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d174ed;
/* rgb */ color: rgb(209, 116, 237);
/* oklch */ color: oklch(70.8% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#e19ff3',
    500: '#d174ed',
    950: '#000000',
  },
}
SCSS
$custom: #d174ed;
$custom-light: #e19ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d174ed",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 286.116,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.19178,
    "h": 317.9
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

primary
#D174ED
secondary
#D5F0CD
accent
#D90C3C
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174ED

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

Preview Lab → · Contrast checker → · Palette generator →

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