#D17BF9#D17BF9

#D17BF9 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.193 H 314.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D17BF9
RGBrgb(209, 123, 249)
HSLhsl(281, 91%, 73%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(16.1%, 50.6%, 0%, 2.4%)
CIE-LABlab(65.41, 54.01, -49.82)
CIE-LCHlch(65.41, 73.48, 317.31°)
OKLaboklab(72.43% 0.1344 -0.1389)
OKLCHoklch(72.43% 0.193 314.1)
XYZxyz(50.4735, 34.5621, 93.6165)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BF9 #A3F97B
analogous
#927BF9 #D17BF9 #F97BE2
triadic
#D17BF9 #F9D17B #7BF9D1
tetradic
#D17BF9 #F9927B #A3F97B #7BE2F9
square
#D17BF9 #F9927B #A3F97B #7BE2F9
split-complementary
#D17BF9 #E2F97B #7BF992
monochromatic
#A60BEF #BD40F6 #D17BF9 #E5B6FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.91
#D17BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BF9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BF9#FFFFFF#000000##000000
##D17BF91.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#CE8FAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bf9;
/* rgb */ color: rgb(209, 123, 249);
/* oklch */ color: oklch(72.4% 0.193 314.1);
Tailwind
colors: {
  custom: {
    50: '#e1a4fc',
    500: '#d17bf9',
    950: '#000000',
  },
}
SCSS
$custom: #d17bf9;
$custom-light: #e1a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bf9",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 280.952,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.19323,
    "h": 314.1
  },
  "luminance": 0.34561
}

Semantic roles & 50–950 ramp

primary
#D17BF9
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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