#D17EF8#D17EF8

#D17EF8 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.187 H 314.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D17EF8
RGBrgb(209, 126, 248)
HSLhsl(281, 90%, 73%)
HSVhsv(281, 49%, 97%)
CMYKcmyk(15.7%, 49.2%, 0%, 2.7%)
CIE-LABlab(65.95, 52.27, -48.42)
CIE-LCHlch(65.95, 71.25, 317.19°)
OKLaboklab(72.82% 0.1303 -0.1348)
OKLCHoklch(72.82% 0.187 314)
XYZxyz(50.6959, 35.2556, 92.9232)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EF8 #A5F87E
analogous
#947EF8 #D17EF8 #F87EE2
triadic
#D17EF8 #F8D17E #7EF8D1
tetradic
#D17EF8 #F8947E #A5F87E #7EE2F8
square
#D17EF8 #F8947E #A5F87E #7EE2F8
split-complementary
#D17EF8 #E2F87E #7EF894
monochromatic
#A70DEF #BC44F5 #D17EF8 #E6B8FB #F5E2FD

Accessibility & contrast

On white

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

On black

8.05
#D17EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EF8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EF8#FFFFFF#000000##000000
##D17EF81.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#CE91B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ef8;
/* rgb */ color: rgb(209, 126, 248);
/* oklch */ color: oklch(72.8% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#e1a6fb',
    500: '#d17ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d17ef8;
$custom-light: #e1a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ef8",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 280.82,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.18747,
    "h": 314
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#D17EF8
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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