#A159BC#A159BC

#A159BC is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.8% C 0.162 H 316.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A159BC
RGBrgb(161, 89, 188)
HSLhsl(284, 42%, 54%)
HSVhsv(284, 53%, 74%)
CMYKcmyk(14.4%, 52.7%, 0%, 26.3%)
CIE-LABlab(49.92, 45.94, -40.30)
CIE-LCHlch(49.92, 61.11, 318.74°)
OKLaboklab(58.75% 0.1165 -0.1122)
OKLCHoklch(58.75% 0.162 316.1)
XYZxyz(27.3460, 18.3535, 49.6693)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159BC #74BC59
analogous
#7059BC #A159BC #BC59A6
triadic
#A159BC #BCA159 #59BCA1
tetradic
#A159BC #BC7059 #74BC59 #59A6BC
square
#A159BC #BC7059 #74BC59 #59A6BC
split-complementary
#A159BC #A6BC59 #59BC70
monochromatic
#5C2C6E #813E9A #A159BC #BA85CE #D2B0DF

Accessibility & contrast

On white

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

On black

4.67
#A159BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159BC#FFFFFF#000000##000000
##A159BC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#A06882
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a159bc;
/* rgb */ color: rgb(161, 89, 188);
/* oklch */ color: oklch(58.8% 0.162 316.1);
Tailwind
colors: {
  custom: {
    50: '#bf8bd0',
    500: '#a159bc',
    950: '#000000',
  },
}
SCSS
$custom: #a159bc;
$custom-light: #bf8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a159bc",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 283.636,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.16173,
    "h": 316.1
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#A159BC
secondary
#AFCDA3
accent
#D25678
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A159BC

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

Preview Lab → · Contrast checker → · Palette generator →

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