#D17FF6#D17FF6

#D17FF6 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.9% C 0.184 H 314.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D17FF6
RGBrgb(209, 127, 246)
HSLhsl(281, 87%, 73%)
HSVhsv(281, 48%, 96%)
CMYKcmyk(15%, 48.4%, 0%, 3.5%)
CIE-LABlab(66.05, 51.34, -47.16)
CIE-LCHlch(66.05, 69.71, 317.43°)
OKLaboklab(72.86% 0.1287 -0.1312)
OKLCHoklch(72.86% 0.184 314.5)
XYZxyz(50.5157, 35.3892, 91.3406)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF6 #A4F67F
analogous
#967FF6 #D17FF6 #F67FDF
triadic
#D17FF6 #F6D17F #7FF6D1
tetradic
#D17FF6 #F6967F #A4F67F #7FDFF6
square
#D17FF6 #F6967F #A4F67F #7FDFF6
split-complementary
#D17FF6 #DFF67F #7FF696
monochromatic
#A610EA #BC46F2 #D17FF6 #E6B8FA #F5E2FD

Accessibility & contrast

On white

2.60
#D17FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D17FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FF6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FF6#FFFFFF#000000##000000
##D17FF61.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#CE91AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ff6;
/* rgb */ color: rgb(209, 127, 246);
/* oklch */ color: oklch(72.9% 0.184 314.5);
Tailwind
colors: {
  custom: {
    50: '#e1a6f9',
    500: '#d17ff6',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff6;
$custom-light: #e1a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff6",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 281.345,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.18376,
    "h": 314.5
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#D17FF6
secondary
#E0F5D6
accent
#E30248
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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