#D174F3#D174F3

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

Color values

HEX#D174F3
RGBrgb(209, 116, 243)
HSLhsl(284, 84%, 70%)
HSVhsv(284, 52%, 95%)
CMYKcmyk(14%, 52.3%, 0%, 4.7%)
CIE-LABlab(63.77, 56.31, -49.11)
CIE-LCHlch(63.77, 74.71, 318.91°)
OKLaboklab(71.13% 0.143 -0.1368)
OKLCHoklch(71.13% 0.198 316.3)
XYZxyz(48.7151, 32.5187, 88.4872)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174F3 #96F374
analogous
#9174F3 #D174F3 #F374D5
triadic
#D174F3 #F3D174 #74F3D1
tetradic
#D174F3 #F39174 #96F374 #74D5F3
square
#D174F3 #F39174 #96F374 #74D5F3
split-complementary
#D174F3 #D5F374 #74F391
monochromatic
#A513DA #BE3CEE #D174F3 #E4ACF8 #F6E3FD

Accessibility & contrast

On white

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

On black

7.50
#D174F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174F3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174F3#FFFFFF#000000##000000
##D174F31.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#769DF0
Tritanopia (blue-blind)
#CF88A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d174f3;
/* rgb */ color: rgb(209, 116, 243);
/* oklch */ color: oklch(71.1% 0.198 316.3);
Tailwind
colors: {
  custom: {
    50: '#e29ff7',
    500: '#d174f3',
    950: '#000000',
  },
}
SCSS
$custom: #d174f3;
$custom-light: #e29ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d174f3",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 283.937,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.19785,
    "h": 316.3
  },
  "luminance": 0.32517
}

Semantic roles & 50–950 ramp

primary
#D174F3
secondary
#D9F3D0
accent
#E10540
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D174F3

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

Preview Lab → · Contrast checker → · Palette generator →

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