#D17DF3#D17DF3

#D17DF3 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.184 H 315.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D17DF3
RGBrgb(209, 125, 243)
HSLhsl(283, 83%, 72%)
HSVhsv(283, 49%, 95%)
CMYKcmyk(14%, 48.6%, 0%, 4.7%)
CIE-LABlab(65.51, 51.76, -46.36)
CIE-LCHlch(65.51, 69.48, 318.15°)
OKLaboklab(72.41% 0.131 -0.1288)
OKLCHoklch(72.41% 0.184 315.5)
XYZxyz(49.8033, 34.6950, 88.8499)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DF3 #9FF37D
analogous
#967DF3 #D17DF3 #F37DDA
triadic
#D17DF3 #F3D17D #7DF3D1
tetradic
#D17DF3 #F3967D #9FF37D #7DDAF3
square
#D17DF3 #F3967D #9FF37D #7DDAF3
split-complementary
#D17DF3 #DAF37D #7DF396
monochromatic
#A615E1 #BD45EE #D17DF3 #E5B5F8 #F5E3FC

Accessibility & contrast

On white

2.65
#D17DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D17DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DF3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DF3#FFFFFF#000000##000000
##D17DF31.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7DA2F0
Tritanopia (blue-blind)
#CF8FAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17df3;
/* rgb */ color: rgb(209, 125, 243);
/* oklch */ color: oklch(72.4% 0.184 315.5);
Tailwind
colors: {
  custom: {
    50: '#e1a5f7',
    500: '#d17df3',
    950: '#000000',
  },
}
SCSS
$custom: #d17df3;
$custom-light: #e1a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d17df3",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 282.712,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.18376,
    "h": 315.5
  },
  "luminance": 0.34694
}

Semantic roles & 50–950 ramp

primary
#D17DF3
secondary
#DFF4D7
accent
#E00645
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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