#D17BF8#D17BF8

#D17BF8 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.192 H 314.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D17BF8
RGBrgb(209, 123, 248)
HSLhsl(281, 90%, 73%)
HSVhsv(281, 50%, 97%)
CMYKcmyk(15.7%, 50.4%, 0%, 2.7%)
CIE-LABlab(65.36, 53.80, -49.35)
CIE-LCHlch(65.36, 73.01, 317.47°)
OKLaboklab(72.38% 0.1343 -0.1375)
OKLCHoklch(72.38% 0.192 314.3)
XYZxyz(50.3180, 34.4999, 92.7972)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BF8 #A2F87B
analogous
#927BF8 #D17BF8 #F87BE0
triadic
#D17BF8 #F8D17B #7BF8D1
tetradic
#D17BF8 #F8927B #A2F87B #7BE0F8
square
#D17BF8 #F8927B #A2F87B #7BE0F8
split-complementary
#D17BF8 #E0F87B #7BF892
monochromatic
#A60DEC #BD41F5 #D17BF8 #E5B5FB #F5E2FD

Accessibility & contrast

On white

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

On black

7.90
#D17BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BF8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BF8#FFFFFF#000000##000000
##D17BF81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#CE8FAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bf8;
/* rgb */ color: rgb(209, 123, 248);
/* oklch */ color: oklch(72.4% 0.192 314.3);
Tailwind
colors: {
  custom: {
    50: '#e1a4fb',
    500: '#d17bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d17bf8;
$custom-light: #e1a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bf8",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 281.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72378,
    "c": 0.19218,
    "h": 314.3
  },
  "luminance": 0.34499
}

Semantic roles & 50–950 ramp

primary
#D17BF8
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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