#D17BFA#D17BFA

#D17BFA is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.5% C 0.194 H 313.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D17BFA
RGBrgb(209, 123, 250)
HSLhsl(281, 93%, 73%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(16.4%, 50.8%, 0%, 2%)
CIE-LABlab(65.46, 54.21, -50.29)
CIE-LCHlch(65.46, 73.95, 317.15°)
OKLaboklab(72.48% 0.1344 -0.1403)
OKLCHoklch(72.48% 0.194 313.8)
XYZxyz(50.6299, 34.6247, 94.4401)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BFA #A4FA7B
analogous
#917BFA #D17BFA #FA7BE3
triadic
#D17BFA #FAD17B #7BFAD1
tetradic
#D17BFA #FA917B #A4FA7B #7BE3FA
square
#D17BFA #FA917B #A4FA7B #7BE3FA
split-complementary
#D17BFA #E3FA7B #7BFA91
monochromatic
#A609F1 #BC40F8 #D17BFA #E6B6FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.92
#D17BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BFA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BFA#FFFFFF#000000##000000
##D17BFA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d17bfa;
/* rgb */ color: rgb(209, 123, 250);
/* oklch */ color: oklch(72.5% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4fc',
    500: '#d17bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d17bfa;
$custom-light: #e1a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bfa",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 280.63,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.19429,
    "h": 313.8
  },
  "luminance": 0.34623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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