#D17BFB#D17BFB

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

Color values

HEX#D17BFB
RGBrgb(209, 123, 251)
HSLhsl(280, 94%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(16.7%, 51%, 0%, 1.6%)
CIE-LABlab(65.50, 54.42, -50.76)
CIE-LCHlch(65.50, 74.42, 316.99°)
OKLaboklab(72.54% 0.1345 -0.1416)
OKLCHoklch(72.54% 0.195 313.5)
XYZxyz(50.7871, 34.6876, 95.2681)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BFB #A5FB7B
analogous
#917BFB #D17BFB #FB7BE5
triadic
#D17BFB #FBD17B #7BFBD1
tetradic
#D17BFB #FB917B #A5FB7B #7BE5FB
square
#D17BFB #FB917B #A5FB7B #7BE5FB
split-complementary
#D17BFB #E5FB7B #7BFB91
monochromatic
#A707F4 #BC40F9 #D17BFB #E6B6FD #F5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17BFB#FFFFFF#000000##000000
##D17BFB1.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)
#5C9AFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#CD8FB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bfb;
/* rgb */ color: rgb(209, 123, 251);
/* oklch */ color: oklch(72.5% 0.195 313.5);
Tailwind
colors: {
  custom: {
    50: '#e1a4fd',
    500: '#d17bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d17bfb;
$custom-light: #e1a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bfb",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 280.313,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72535,
    "c": 0.19534,
    "h": 313.5
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#D17BFB
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D17BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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