#D17BF7#D17BF7

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

Color values

HEX#D17BF7
RGBrgb(209, 123, 247)
HSLhsl(282, 89%, 73%)
HSVhsv(282, 50%, 97%)
CMYKcmyk(15.4%, 50.2%, 0%, 3.1%)
CIE-LABlab(65.31, 53.60, -48.88)
CIE-LCHlch(65.31, 72.54, 317.64°)
OKLaboklab(72.33% 0.1342 -0.1361)
OKLCHoklch(72.33% 0.191 314.6)
XYZxyz(50.1633, 34.4380, 91.9824)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BF7 #A1F77B
analogous
#937BF7 #D17BF7 #F77BDF
triadic
#D17BF7 #F7D17B #7BF7D1
tetradic
#D17BF7 #F7937B #A1F77B #7BDFF7
square
#D17BF7 #F7937B #A1F77B #7BDFF7
split-complementary
#D17BF7 #DFF77B #7BF793
monochromatic
#A60EE9 #BD41F4 #D17BF7 #E5B5FA #F5E2FD

Accessibility & contrast

On white

2.66
#D17BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D17BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BF7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BF7#FFFFFF#000000##000000
##D17BF71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#CE8EAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bf7;
/* rgb */ color: rgb(209, 123, 247);
/* oklch */ color: oklch(72.3% 0.191 314.6);
Tailwind
colors: {
  custom: {
    50: '#e1a4fa',
    500: '#d17bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d17bf7;
$custom-light: #e1a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bf7",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 281.613,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.19113,
    "h": 314.6
  },
  "luminance": 0.34437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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