#D174EB#D174EB

#D174EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.190 H 318.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D174EB
RGBrgb(209, 116, 235)
HSLhsl(287, 75%, 69%)
HSVhsv(287, 51%, 92%)
CMYKcmyk(11.1%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.38, 54.72, -45.29)
CIE-LCHlch(63.38, 71.03, 320.38°)
OKLaboklab(70.71% 0.1422 -0.1257)
OKLCHoklch(70.71% 0.19 318.5)
XYZxyz(47.5333, 32.0460, 82.2628)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174EB #8EEB74
analogous
#9674EB #D174EB #EB74CA
triadic
#D174EB #EBD174 #74EBD1
tetradic
#D174EB #EB9674 #8EEB74 #74CAEB
square
#D174EB #EB9674 #8EEB74 #74CAEB
split-complementary
#D174EB #CAEB74 #74EB96
monochromatic
#A21DC8 #BF3EE3 #D174EB #E3AAF3 #F4DFFA

Accessibility & contrast

On white

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

On black

7.41
#D174EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174EB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174EB#FFFFFF#000000##000000
##D174EB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#D185A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d174eb;
/* rgb */ color: rgb(209, 116, 235);
/* oklch */ color: oklch(70.7% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#e19ff2',
    500: '#d174eb',
    950: '#000000',
  },
}
SCSS
$custom: #d174eb;
$custom-light: #e19ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d174eb",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 286.891,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.18976,
    "h": 318.5
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

primary
#D174EB
secondary
#D3EFCC
accent
#D70F3A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174EB

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

Preview Lab → · Contrast checker → · Palette generator →

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