#D17BF6#D17BF6

#D17BF6 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.190 H 314.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D17BF6
RGBrgb(209, 123, 246)
HSLhsl(282, 87%, 72%)
HSVhsv(282, 50%, 96%)
CMYKcmyk(15%, 50%, 0%, 3.5%)
CIE-LABlab(65.26, 53.39, -48.40)
CIE-LCHlch(65.26, 72.07, 317.81°)
OKLaboklab(72.27% 0.134 -0.1348)
OKLCHoklch(72.27% 0.19 314.8)
XYZxyz(50.0094, 34.3764, 91.1719)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BF6 #A0F67B
analogous
#937BF6 #D17BF6 #F67BDE
triadic
#D17BF6 #F6D17B #7BF6D1
tetradic
#D17BF6 #F6937B #A0F67B #7BDEF6
square
#D17BF6 #F6937B #A0F67B #7BDEF6
split-complementary
#D17BF6 #DEF67B #7BF693
monochromatic
#A610E7 #BD42F2 #D17BF6 #E5B4FA #F5E2FD

Accessibility & contrast

On white

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

On black

7.87
#D17BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BF6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BF6#FFFFFF#000000##000000
##D17BF61.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#CE8EAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17bf6;
/* rgb */ color: rgb(209, 123, 246);
/* oklch */ color: oklch(72.3% 0.190 314.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4f9',
    500: '#d17bf6',
    950: '#000000',
  },
}
SCSS
$custom: #d17bf6;
$custom-light: #e1a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bf6",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 281.951,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.19008,
    "h": 314.8
  },
  "luminance": 0.34375
}

Semantic roles & 50–950 ramp

primary
#D17BF6
secondary
#DFF5D6
accent
#E40246
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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