#D17EFD#D17EFD

#D17EFD is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.1% C 0.193 H 312.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D17EFD
RGBrgb(209, 126, 253)
HSLhsl(279, 97%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.4%, 50.2%, 0%, 0.8%)
CIE-LABlab(66.19, 53.31, -50.78)
CIE-LCHlch(66.19, 73.62, 316.39°)
OKLaboklab(73.07% 0.1308 -0.1417)
OKLCHoklch(73.07% 0.193 312.7)
XYZxyz(51.4819, 35.5701, 97.0632)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EFD #AAFD7E
analogous
#927EFD #D17EFD #FD7EE9
triadic
#D17EFD #FDD17E #7EFDD1
tetradic
#D17EFD #FD927E #AAFD7E #7EE9FD
square
#D17EFD #FD927E #AAFD7E #7EE9FD
split-complementary
#D17EFD #E9FD7E #7EFD92
monochromatic
#A605FB #BC42FC #D17EFD #E6BAFE #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17EFD#FFFFFF#000000##000000
##D17EFD1.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)
#5F9CFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#CD92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17efd;
/* rgb */ color: rgb(209, 126, 253);
/* oklch */ color: oklch(73.1% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#e1a6fe',
    500: '#d17efd',
    950: '#000000',
  },
}
SCSS
$custom: #d17efd;
$custom-light: #e1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d17efd",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 279.213,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73074,
    "c": 0.19282,
    "h": 312.7
  },
  "luminance": 0.35569
}

Semantic roles & 50–950 ramp

primary
#D17EFD
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D17EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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