#D17BFC#D17BFC

#D17BFC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.196 H 313.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D17BFC
RGBrgb(209, 123, 252)
HSLhsl(280, 96%, 74%)
HSVhsv(280, 51%, 99%)
CMYKcmyk(17.1%, 51.2%, 0%, 1.2%)
CIE-LABlab(65.55, 54.63, -51.23)
CIE-LCHlch(65.55, 74.89, 316.84°)
OKLaboklab(72.59% 0.1346 -0.143)
OKLCHoklch(72.59% 0.196 313.3)
XYZxyz(50.9452, 34.7508, 96.1005)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BFC #A6FC7B
analogous
#907BFC #D17BFC #FC7BE6
triadic
#D17BFC #FCD17B #7BFCD1
tetradic
#D17BFC #FC907B #A6FC7B #7BE6FC
square
#D17BFC #FC907B #A6FC7B #7BE6FC
split-complementary
#D17BFC #E6FC7B #7BFC90
monochromatic
#A706F7 #BC3FFB #D17BFC #E6B7FD #F5E1FE

Accessibility & contrast

On white

2.64
#D17BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D17BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BFC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BFC#FFFFFF#000000##000000
##D17BFC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#CD90B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bfc;
/* rgb */ color: rgb(209, 123, 252);
/* oklch */ color: oklch(72.6% 0.196 313.3);
Tailwind
colors: {
  custom: {
    50: '#e2a4fe',
    500: '#d17bfc',
    950: '#000000',
  },
}
SCSS
$custom: #d17bfc;
$custom-light: #e2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bfc",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 280,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72587,
    "c": 0.1964,
    "h": 313.3
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

primary
#D17BFC
secondary
#E0F7D4
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D17BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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