#D17DFF#D17DFF

#D17DFF is a light, vivid violet. Relative luminance 0.354; OKLCH L 73.0% C 0.197 H 312.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D17DFF
RGBrgb(209, 125, 255)
HSLhsl(279, 100%, 75%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(18%, 51%, 0%, 0%)
CIE-LABlab(66.09, 54.24, -52.03)
CIE-LCHlch(66.09, 75.16, 316.19°)
OKLaboklab(73.03% 0.1323 -0.1453)
OKLCHoklch(73.03% 0.197 312.3)
XYZxyz(51.6750, 35.4437, 98.7075)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DFF #ABFF7D
analogous
#907DFF #D17DFF #FF7DEC
triadic
#D17DFF #FFD17D #7DFFD1
tetradic
#D17DFF #FF907D #ABFF7D #7DECFF
square
#D17DFF #FF907D #ABFF7D #7DECFF
split-complementary
#D17DFF #ECFF7D #7DFF90
monochromatic
#A603FF #BB40FF #D17DFF #E7BAFF #F4E0FF

Accessibility & contrast

On white

2.60
#D17DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D17DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DFF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DFF#FFFFFF#000000##000000
##D17DFF1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#76A3FC
Tritanopia (blue-blind)
#CC92B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17dff;
/* rgb */ color: rgb(209, 125, 255);
/* oklch */ color: oklch(73.0% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#e2a5ff',
    500: '#d17dff',
    950: '#000000',
  },
}
SCSS
$custom: #d17dff;
$custom-light: #e2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dff",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 278.769,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.19651,
    "h": 312.3
  },
  "luminance": 0.35443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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