#D17FF7#D17FF7

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

Color values

HEX#D17FF7
RGBrgb(209, 127, 247)
HSLhsl(281, 88%, 73%)
HSVhsv(281, 49%, 97%)
CMYKcmyk(15.4%, 48.6%, 0%, 3.1%)
CIE-LABlab(66.10, 51.55, -47.63)
CIE-LCHlch(66.10, 70.19, 317.26°)
OKLaboklab(72.91% 0.1288 -0.1325)
OKLCHoklch(72.91% 0.185 314.2)
XYZxyz(50.6696, 35.4508, 92.1512)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF7 #A5F77F
analogous
#957FF7 #D17FF7 #F77FE1
triadic
#D17FF7 #F7D17F #7FF7D1
tetradic
#D17FF7 #F7957F #A5F77F #7FE1F7
square
#D17FF7 #F7957F #A5F77F #7FE1F7
split-complementary
#D17FF7 #E1F77F #7FF795
monochromatic
#A60FED #BC45F3 #D17FF7 #E6B9FB #F5E2FD

Accessibility & contrast

On white

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

On black

8.09
#D17FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FF7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FF7#FFFFFF#000000##000000
##D17FF71.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#CE91B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17ff7;
/* rgb */ color: rgb(209, 127, 247);
/* oklch */ color: oklch(72.9% 0.185 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1a6fa',
    500: '#d17ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff7;
$custom-light: #e1a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff7",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 281,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.18483,
    "h": 314.2
  },
  "luminance": 0.35449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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