#D17FED#D17FED

#D17FED is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.174 H 317.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D17FED
RGBrgb(209, 127, 237)
HSLhsl(285, 75%, 71%)
HSVhsv(285, 46%, 93%)
CMYKcmyk(11.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(65.63, 49.51, -42.86)
CIE-LCHlch(65.63, 65.49, 319.12°)
OKLaboklab(72.41% 0.1275 -0.1187)
OKLCHoklch(72.41% 0.174 317)
XYZxyz(49.1677, 34.8500, 84.2411)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FED #9BED7F
analogous
#9A7FED #D17FED #ED7FD2
triadic
#D17FED #EDD17F #7FEDD1
tetradic
#D17FED #ED9A7F #9BED7F #7FD2ED
square
#D17FED #ED9A7F #9BED7F #7FD2ED
split-complementary
#D17FED #D2ED7F #7FED9A
monochromatic
#A51ED4 #BE49E5 #D17FED #E4B5F5 #F5E4FB

Accessibility & contrast

On white

2.64
#D17FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D17FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FED
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FED#FFFFFF#000000##000000
##D17FED1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF1
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#D08EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17fed;
/* rgb */ color: rgb(209, 127, 237);
/* oklch */ color: oklch(72.4% 0.174 317.0);
Tailwind
colors: {
  custom: {
    50: '#e1a6f3',
    500: '#d17fed',
    950: '#000000',
  },
}
SCSS
$custom: #d17fed;
$custom-light: #e1a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fed",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 284.727,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.17421,
    "h": 317
  },
  "luminance": 0.34848
}

Semantic roles & 50–950 ramp

primary
#D17FED
secondary
#DDF2D6
accent
#D80E41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D17FED

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

Preview Lab → · Contrast checker → · Palette generator →

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