#A159BF#A159BF

#A159BF is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.9% C 0.165 H 315.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A159BF
RGBrgb(161, 89, 191)
HSLhsl(282, 44%, 55%)
HSVhsv(282, 53%, 75%)
CMYKcmyk(15.7%, 53.4%, 0%, 25.1%)
CIE-LABlab(50.08, 46.57, -41.79)
CIE-LCHlch(50.08, 62.57, 318.10°)
OKLaboklab(58.92% 0.1167 -0.1166)
OKLCHoklch(58.92% 0.165 315)
XYZxyz(27.6728, 18.4842, 51.3902)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159BF #77BF59
analogous
#6E59BF #A159BF #BF59AA
triadic
#A159BF #BFA159 #59BFA1
tetradic
#A159BF #BF6E59 #77BF59 #59AABF
square
#A159BF #BF6E59 #77BF59 #59AABF
split-complementary
#A159BF #AABF59 #59BF6E
monochromatic
#5D2C72 #813D9E #A159BF #BA85D0 #D3B1E1

Accessibility & contrast

On white

4.47
#A159BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A159BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159BF#FFFFFF#000000##000000
##A159BF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#9F6984
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a159bf;
/* rgb */ color: rgb(161, 89, 191);
/* oklch */ color: oklch(58.9% 0.165 315.0);
Tailwind
colors: {
  custom: {
    50: '#bf8bd3',
    500: '#a159bf',
    950: '#000000',
  },
}
SCSS
$custom: #a159bf;
$custom-light: #bf8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a159bf",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 282.353,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.16496,
    "h": 315
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#A159BF
secondary
#B1CFA4
accent
#D45479
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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