#D174FC#D174FC

#D174FC is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.6% C 0.207 H 313.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D174FC
RGBrgb(209, 116, 252)
HSLhsl(281, 96%, 72%)
HSVhsv(281, 54%, 99%)
CMYKcmyk(17.1%, 54%, 0%, 1.2%)
CIE-LABlab(64.22, 58.13, -53.35)
CIE-LCHlch(64.22, 78.90, 317.46°)
OKLaboklab(71.61% 0.1437 -0.1491)
OKLCHoklch(71.61% 0.207 313.9)
XYZxyz(50.1077, 33.0757, 95.8213)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174FC #9FFC74
analogous
#8D74FC #D174FC #FC74E3
triadic
#D174FC #FCD174 #74FCD1
tetradic
#D174FC #FC8D74 #9FFC74 #74E3FC
square
#D174FC #FC8D74 #9FFC74 #74E3FC
split-complementary
#D174FC #E3FC74 #74FC8D
monochromatic
#A605F0 #BD38FB #D174FC #E5B0FD #F5E1FE

Accessibility & contrast

On white

2.76
#D174FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D174FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174FC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174FC#FFFFFF#000000##000000
##D174FC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#CD8BAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d174fc;
/* rgb */ color: rgb(209, 116, 252);
/* oklch */ color: oklch(71.6% 0.207 313.9);
Tailwind
colors: {
  custom: {
    50: '#e29ffe',
    500: '#d174fc',
    950: '#000000',
  },
}
SCSS
$custom: #d174fc;
$custom-light: #e29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d174fc",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 281.029,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71606,
    "c": 0.20706,
    "h": 313.9
  },
  "luminance": 0.33074
}

Semantic roles & 50–950 ramp

primary
#D174FC
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D174FC

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

Preview Lab → · Contrast checker → · Palette generator →

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