#D17FF3#D17FF3

#D17FF3 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.181 H 315.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D17FF3
RGBrgb(209, 127, 243)
HSLhsl(282, 83%, 73%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14%, 47.7%, 0%, 4.7%)
CIE-LABlab(65.91, 50.73, -45.73)
CIE-LCHlch(65.91, 68.30, 317.97°)
OKLaboklab(72.71% 0.1283 -0.127)
OKLCHoklch(72.71% 0.181 315.3)
XYZxyz(50.0590, 35.2065, 88.9352)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF3 #A1F37F
analogous
#977FF3 #D17FF3 #F37FDB
triadic
#D17FF3 #F3D17F #7FF3D1
tetradic
#D17FF3 #F3977F #A1F37F #7FDBF3
square
#D17FF3 #F3977F #A1F37F #7FDBF3
split-complementary
#D17FF3 #DBF37F #7FF397
monochromatic
#A615E2 #BD47EE #D17FF3 #E5B7F8 #F5E3FC

Accessibility & contrast

On white

2.61
#D17FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D17FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FF3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FF3#FFFFFF#000000##000000
##D17FF31.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#7FA3F0
Tritanopia (blue-blind)
#CF90AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ff3;
/* rgb */ color: rgb(209, 127, 243);
/* oklch */ color: oklch(72.7% 0.181 315.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6f7',
    500: '#d17ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff3;
$custom-light: #e1a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff3",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 282.414,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72709,
    "c": 0.18056,
    "h": 315.3
  },
  "luminance": 0.35205
}

Semantic roles & 50–950 ramp

primary
#D17FF3
secondary
#DFF4D7
accent
#DF0646
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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