#A171BF#A171BF

#A171BF is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.125 H 311.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A171BF
RGBrgb(161, 113, 191)
HSLhsl(277, 38%, 60%)
HSVhsv(277, 41%, 75%)
CMYKcmyk(15.7%, 40.8%, 0%, 25.1%)
CIE-LABlab(55.23, 33.44, -33.70)
CIE-LCHlch(55.23, 47.48, 314.79°)
OKLaboklab(62.75% 0.0825 -0.0933)
OKLCHoklch(62.75% 0.125 311.5)
XYZxyz(30.0054, 23.1494, 52.1677)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A171BF #8FBF71
analogous
#7A71BF #A171BF #BF71B6
triadic
#A171BF #BFA171 #71BFA1
tetradic
#A171BF #BF7A71 #8FBF71 #71B6BF
square
#A171BF #BF7A71 #8FBF71 #71B6BF
split-complementary
#A171BF #B6BF71 #71BF7A
monochromatic
#63387D #844BA7 #A171BF #BD9BD2 #D9C5E5

Accessibility & contrast

On white

3.73
#A171BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A171BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A171BF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A171BF#FFFFFF#000000##000000
##A171BF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#9E7C8F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a171bf;
/* rgb */ color: rgb(161, 113, 191);
/* oklch */ color: oklch(62.8% 0.125 311.5);
Tailwind
colors: {
  custom: {
    50: '#be9ad2',
    500: '#a171bf',
    950: '#000000',
  },
}
SCSS
$custom: #a171bf;
$custom-light: #be9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a171bf",
  "rgb": {
    "r": 161,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 276.923,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.12453,
    "h": 311.5
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#A171BF
secondary
#C2D5B7
accent
#CE5A87
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A171BF

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

Preview Lab → · Contrast checker → · Palette generator →

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