#D174F2#D174F2

#D174F2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.197 H 316.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D174F2
RGBrgb(209, 116, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 52%, 95%)
CMYKcmyk(13.6%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.72, 56.11, -48.63)
CIE-LCHlch(63.72, 74.25, 319.08°)
OKLaboklab(71.07% 0.1429 -0.1354)
OKLCHoklch(71.07% 0.197 316.5)
XYZxyz(48.5645, 32.4585, 87.6941)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174F2 #95F274
analogous
#9274F2 #D174F2 #F274D4
triadic
#D174F2 #F2D174 #74F2D1
tetradic
#D174F2 #F29274 #95F274 #74D4F2
square
#D174F2 #F29274 #95F274 #74D4F2
split-complementary
#D174F2 #D4F274 #74F292
monochromatic
#A414D7 #BE3CED #D174F2 #E4ACF7 #F6E3FC

Accessibility & contrast

On white

2.80
#D174F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D174F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174F2#FFFFFF#000000##000000
##D174F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D087A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d174f2;
/* rgb */ color: rgb(209, 116, 242);
/* oklch */ color: oklch(71.1% 0.197 316.5);
Tailwind
colors: {
  custom: {
    50: '#e19ff7',
    500: '#d174f2',
    950: '#000000',
  },
}
SCSS
$custom: #d174f2;
$custom-light: #e19ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d174f2",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 284.286,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.19684,
    "h": 316.5
  },
  "luminance": 0.32457
}

Semantic roles & 50–950 ramp

primary
#D174F2
secondary
#D9F2CF
accent
#DF063F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174F2

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

Preview Lab → · Contrast checker → · Palette generator →

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