#A171BB#A171BB

#A171BB is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.6% C 0.120 H 313.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A171BB
RGBrgb(161, 113, 187)
HSLhsl(279, 35%, 59%)
HSVhsv(279, 40%, 73%)
CMYKcmyk(13.9%, 39.6%, 0%, 26.7%)
CIE-LABlab(55.05, 32.56, -31.68)
CIE-LCHlch(55.05, 45.43, 315.79°)
OKLaboklab(62.56% 0.0817 -0.0875)
OKLCHoklch(62.56% 0.12 313)
XYZxyz(29.5712, 22.9757, 49.8811)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A171BB #8BBB71
analogous
#7C71BB #A171BB #BB71B0
triadic
#A171BB #BBA171 #71BBA1
tetradic
#A171BB #BB7C71 #8BBB71 #71B0BB
square
#A171BB #BB7C71 #8BBB71 #71B0BB
split-complementary
#A171BB #B0BB71 #71BB7C
monochromatic
#623A78 #844DA1 #A171BB #BC9ACF #D8C4E3

Accessibility & contrast

On white

3.75
#A171BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A171BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A171BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A171BB#FFFFFF#000000##000000
##A171BB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#9F7B8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a171bb;
/* rgb */ color: rgb(161, 113, 187);
/* oklch */ color: oklch(62.6% 0.120 313.0);
Tailwind
colors: {
  custom: {
    50: '#be9acf',
    500: '#a171bb',
    950: '#000000',
  },
}
SCSS
$custom: #a171bb;
$custom-light: #be9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a171bb",
  "rgb": {
    "r": 161,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 278.919,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.1197,
    "h": 313
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#A171BB
secondary
#C0D2B5
accent
#CB5D83
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A171BB

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

Preview Lab → · Contrast checker → · Palette generator →

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