#D17EFF#D17EFF

#D17EFF is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.2% C 0.195 H 312.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D17EFF
RGBrgb(209, 126, 255)
HSLhsl(279, 100%, 75%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(18%, 50.6%, 0%, 0%)
CIE-LABlab(66.29, 53.73, -51.72)
CIE-LCHlch(66.29, 74.57, 316.09°)
OKLaboklab(73.18% 0.131 -0.1444)
OKLCHoklch(73.18% 0.195 312.2)
XYZxyz(51.8022, 35.6982, 98.7499)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EFF #ACFF7E
analogous
#917EFF #D17EFF #FF7EEC
triadic
#D17EFF #FFD17E #7EFFD1
tetradic
#D17EFF #FF917E #ACFF7E #7EECFF
square
#D17EFF #FF917E #ACFF7E #7EECFF
split-complementary
#D17EFF #ECFF7E #7EFF91
monochromatic
#A504FF #BB41FF #D17EFF #E7BBFF #F4E0FF

Accessibility & contrast

On white

2.58
#D17EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D17EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EFF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EFF#FFFFFF#000000##000000
##D17EFF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#CC93B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17eff;
/* rgb */ color: rgb(209, 126, 255);
/* oklch */ color: oklch(73.2% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#e1a6ff',
    500: '#d17eff',
    950: '#000000',
  },
}
SCSS
$custom: #d17eff;
$custom-light: #e1a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eff",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 278.605,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73179,
    "c": 0.19496,
    "h": 312.2
  },
  "luminance": 0.35697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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