#D17BFD#D17BFD

#D17BFD is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.197 H 313.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D17BFD
RGBrgb(209, 123, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 51%, 99%)
CMYKcmyk(17.4%, 51.4%, 0%, 0.8%)
CIE-LABlab(65.60, 54.84, -51.70)
CIE-LCHlch(65.60, 75.37, 316.68°)
OKLaboklab(72.64% 0.1347 -0.1444)
OKLCHoklch(72.64% 0.197 313)
XYZxyz(51.1041, 34.8143, 96.9372)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BFD #A7FD7B
analogous
#907BFD #D17BFD #FD7BE8
triadic
#D17BFD #FDD17B #7BFDD1
tetradic
#D17BFD #FD907B #A7FD7B #7BE8FD
square
#D17BFD #FD907B #A7FD7B #7BE8FD
split-complementary
#D17BFD #E8FD7B #7BFD90
monochromatic
#A704FA #BC3FFC #D17BFD #E6B7FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.96
#D17BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BFD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BFD#FFFFFF#000000##000000
##D17BFD1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#CD90B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17bfd;
/* rgb */ color: rgb(209, 123, 253);
/* oklch */ color: oklch(72.6% 0.197 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2a4fe',
    500: '#d17bfd',
    950: '#000000',
  },
}
SCSS
$custom: #d17bfd;
$custom-light: #e2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bfd",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 279.692,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.19746,
    "h": 313
  },
  "luminance": 0.34813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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