#A17DBD#A17DBD

#A17DBD is a light, moderate violet. Relative luminance 0.259; OKLCH L 64.8% C 0.101 H 309.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A17DBD
RGBrgb(161, 125, 189)
HSLhsl(274, 33%, 62%)
HSVhsv(274, 34%, 74%)
CMYKcmyk(14.8%, 33.9%, 0%, 25.9%)
CIE-LABlab(57.96, 26.18, -28.30)
CIE-LCHlch(57.96, 38.55, 312.76°)
OKLaboklab(64.8% 0.0642 -0.0779)
OKLCHoklch(64.8% 0.101 309.5)
XYZxyz(31.2152, 25.9188, 51.4926)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DBD #99BD7D
analogous
#817DBD #A17DBD #BD7DB9
triadic
#A17DBD #BDA17D #7DBDA1
tetradic
#A17DBD #BD817D #99BD7D #7DB9BD
square
#A17DBD #BD817D #99BD7D #7DB9BD
split-complementary
#A17DBD #B9BD7D #7DBD81
monochromatic
#64417F #8455A8 #A17DBD #BEA6D2 #DCCEE6

Accessibility & contrast

On white

3.40
#A17DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A17DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DBD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DBD#FFFFFF#000000##000000
##A17DBD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC0
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#9E8694
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a17dbd;
/* rgb */ color: rgb(161, 125, 189);
/* oklch */ color: oklch(64.8% 0.101 309.5);
Tailwind
colors: {
  custom: {
    50: '#bda3d1',
    500: '#a17dbd',
    950: '#000000',
  },
}
SCSS
$custom: #a17dbd;
$custom-light: #bda3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a17dbd",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 273.75,
    "s": 32.653,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.10096,
    "h": 309.5
  },
  "luminance": 0.25918
}

Semantic roles & 50–950 ramp

primary
#A17DBD
secondary
#C9D7BF
accent
#AB3A6C
background
#FBFAFC
surface
#F7F3F9
border
#D0CDD2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A17DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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