#D174EA#D174EA

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

Color values

HEX#D174EA
RGBrgb(209, 116, 234)
HSLhsl(287, 74%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(10.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(63.33, 54.52, -44.81)
CIE-LCHlch(63.33, 70.58, 320.58°)
OKLaboklab(70.66% 0.142 -0.1243)
OKLCHoklch(70.66% 0.189 318.8)
XYZxyz(47.3892, 31.9884, 81.5040)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174EA #8DEA74
analogous
#9674EA #D174EA #EA74C8
triadic
#D174EA #EAD174 #74EAD1
tetradic
#D174EA #EA9674 #8DEA74 #74C8EA
square
#D174EA #EA9674 #8DEA74 #74C8EA
split-complementary
#D174EA #C8EA74 #74EA96
monochromatic
#A21EC6 #BF3FE2 #D174EA #E3A9F2 #F4DEFA

Accessibility & contrast

On white

2.84
#D174EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D174EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174EA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174EA#FFFFFF#000000##000000
##D174EA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d174ea;
/* rgb */ color: rgb(209, 116, 234);
/* oklch */ color: oklch(70.7% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#e19ff1',
    500: '#d174ea',
    950: '#000000',
  },
}
SCSS
$custom: #d174ea;
$custom-light: #e19ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d174ea",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 287.288,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70662,
    "c": 0.18876,
    "h": 318.8
  },
  "luminance": 0.31987
}

Semantic roles & 50–950 ramp

primary
#D174EA
secondary
#D3EFCB
accent
#D6103A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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