#A159BB#A159BB

#A159BB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.161 H 316.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A159BB
RGBrgb(161, 89, 187)
HSLhsl(284, 42%, 54%)
HSVhsv(284, 52%, 73%)
CMYKcmyk(13.9%, 52.4%, 0%, 26.7%)
CIE-LABlab(49.87, 45.72, -39.80)
CIE-LCHlch(49.87, 60.62, 318.96°)
OKLaboklab(58.7% 0.1164 -0.1108)
OKLCHoklch(58.7% 0.161 316.4)
XYZxyz(27.2386, 18.3106, 49.1035)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159BB #73BB59
analogous
#7059BB #A159BB #BB59A4
triadic
#A159BB #BBA159 #59BBA1
tetradic
#A159BB #BB7059 #73BB59 #59A4BB
square
#A159BB #BB7059 #73BB59 #59A4BB
split-complementary
#A159BB #A4BB59 #59BB70
monochromatic
#5C2D6D #813E98 #A159BB #BA84CD #D2B0DF

Accessibility & contrast

On white

4.50
#A159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A159BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159BB#FFFFFF#000000##000000
##A159BB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#A06882
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a159bb;
/* rgb */ color: rgb(161, 89, 187);
/* oklch */ color: oklch(58.7% 0.161 316.4);
Tailwind
colors: {
  custom: {
    50: '#bf8bd0',
    500: '#a159bb',
    950: '#000000',
  },
}
SCSS
$custom: #a159bb;
$custom-light: #bf8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a159bb",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 284.082,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.16065,
    "h": 316.4
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#A159BB
secondary
#AECDA3
accent
#D25677
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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