#D17FF9#D17FF9

#D17FF9 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.187 H 313.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D17FF9
RGBrgb(209, 127, 249)
HSLhsl(280, 91%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.1%, 49%, 0%, 2.4%)
CIE-LABlab(66.19, 51.96, -48.58)
CIE-LCHlch(66.19, 71.13, 316.93°)
OKLaboklab(73.01% 0.129 -0.1353)
OKLCHoklch(73.01% 0.187 313.6)
XYZxyz(50.9799, 35.5749, 93.7853)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF9 #A7F97F
analogous
#947FF9 #D17FF9 #F97FE4
triadic
#D17FF9 #F9D17F #7FF9D1
tetradic
#D17FF9 #F9947F #A7F97F #7FE4F9
square
#D17FF9 #F9947F #A7F97F #7FE4F9
split-complementary
#D17FF9 #E4F97F #7FF994
monochromatic
#A70BF2 #BC45F6 #D17FF9 #E6B9FC #F4E2FE

Accessibility & contrast

On white

2.59
#D17FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D17FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FF9
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FF9#FFFFFF#000000##000000
##D17FF91.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#CE92B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17ff9;
/* rgb */ color: rgb(209, 127, 249);
/* oklch */ color: oklch(73.0% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#e1a6fc',
    500: '#d17ff9',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff9;
$custom-light: #e1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff9",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 280.328,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.18696,
    "h": 313.6
  },
  "luminance": 0.35574
}

Semantic roles & 50–950 ramp

primary
#D17FF9
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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