#D17EF7#D17EF7

#D17EF7 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.186 H 314.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D17EF7
RGBrgb(209, 126, 247)
HSLhsl(281, 88%, 73%)
HSVhsv(281, 49%, 97%)
CMYKcmyk(15.4%, 49%, 0%, 3.1%)
CIE-LABlab(65.90, 52.06, -47.95)
CIE-LCHlch(65.90, 70.78, 317.36°)
OKLaboklab(72.76% 0.1301 -0.1335)
OKLCHoklch(72.76% 0.186 314.3)
XYZxyz(50.5411, 35.1937, 92.1083)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EF7 #A4F77E
analogous
#947EF7 #D17EF7 #F77EE0
triadic
#D17EF7 #F7D17E #7EF7D1
tetradic
#D17EF7 #F7947E #A4F77E #7EE0F7
square
#D17EF7 #F7947E #A4F77E #7EE0F7
split-complementary
#D17EF7 #E0F77E #7EF794
monochromatic
#A60FEC #BC44F3 #D17EF7 #E6B8FB #F5E2FD

Accessibility & contrast

On white

2.61
#D17EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D17EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EF7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EF7#FFFFFF#000000##000000
##D17EF71.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#7CA2F4
Tritanopia (blue-blind)
#CE91AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ef7;
/* rgb */ color: rgb(209, 126, 247);
/* oklch */ color: oklch(72.8% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6fa',
    500: '#d17ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d17ef7;
$custom-light: #e1a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ef7",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 281.157,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72763,
    "c": 0.18641,
    "h": 314.3
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

primary
#D17EF7
secondary
#E0F5D6
accent
#E50148
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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