#D17FE3#D17FE3

#D17FE3 is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.164 H 320.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D17FE3
RGBrgb(209, 127, 227)
HSLhsl(289, 64%, 69%)
HSVhsv(289, 44%, 89%)
CMYKcmyk(7.9%, 44.1%, 0%, 11%)
CIE-LABlab(65.19, 47.53, -38.03)
CIE-LCHlch(65.19, 60.87, 321.34°)
OKLaboklab(71.93% 0.1259 -0.1048)
OKLCHoklch(71.93% 0.164 320.2)
XYZxyz(47.7473, 34.2818, 76.7601)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FE3 #91E37F
analogous
#9F7FE3 #D17FE3 #E37FC3
triadic
#D17FE3 #E3D17F #7FE3D1
tetradic
#D17FE3 #E39F7F #91E37F #7FC3E3
square
#D17FE3 #E39F7F #91E37F #7FC3E3
split-complementary
#D17FE3 #C3E37F #7FE39F
monochromatic
#A32ABE #BF4DD8 #D17FE3 #E3B1EE #F5E3F9

Accessibility & contrast

On white

2.67
#D17FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D17FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FE3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FE3#FFFFFF#000000##000000
##D17FE31.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E7
Deuteranopia (green-blind)
#87A1E0
Tritanopia (blue-blind)
#D28CA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17fe3;
/* rgb */ color: rgb(209, 127, 227);
/* oklch */ color: oklch(71.9% 0.164 320.2);
Tailwind
colors: {
  custom: {
    50: '#e1a6ec',
    500: '#d17fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d17fe3;
$custom-light: #e1a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fe3",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 289.2,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71934,
    "c": 0.1638,
    "h": 320.2
  },
  "luminance": 0.3428
}

Semantic roles & 50–950 ramp

primary
#D17FE3
secondary
#D6EDD0
accent
#CC1A3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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