#A17FBB#A17FBB

#A17FBB is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.1% C 0.095 H 309.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A17FBB
RGBrgb(161, 127, 187)
HSLhsl(274, 31%, 62%)
HSVhsv(274, 32%, 73%)
CMYKcmyk(13.9%, 32.1%, 0%, 26.7%)
CIE-LABlab(58.36, 24.59, -26.54)
CIE-LCHlch(58.36, 36.18, 312.81°)
OKLaboklab(65.08% 0.0607 -0.0729)
OKLCHoklch(65.08% 0.095 309.8)
XYZxyz(31.2554, 26.3440, 50.4424)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FBB #99BB7F
analogous
#837FBB #A17FBB #BB7FB7
triadic
#A17FBB #BBA17F #7FBBA1
tetradic
#A17FBB #BB837F #99BB7F #7FB7BB
square
#A17FBB #BB837F #99BB7F #7FB7BB
split-complementary
#A17FBB #B7BB7F #7FBB83
monochromatic
#64427D #8458A5 #A17FBB #BEA7D0 #DCCFE5

Accessibility & contrast

On white

3.35
#A17FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A17FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FBB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FBB#FFFFFF#000000##000000
##A17FBB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBD
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#9E8795
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a17fbb;
/* rgb */ color: rgb(161, 127, 187);
/* oklch */ color: oklch(65.1% 0.095 309.8);
Tailwind
colors: {
  custom: {
    50: '#bda4cf',
    500: '#a17fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a17fbb;
$custom-light: #bda4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fbb",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 274,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.09486,
    "h": 309.8
  },
  "luminance": 0.26344
}

Semantic roles & 50–950 ramp

primary
#A17FBB
secondary
#C9D6C0
accent
#A93C6B
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A17FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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