#A159B2#A159B2

#A159B2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.151 H 319.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A159B2
RGBrgb(161, 89, 178)
HSLhsl(289, 37%, 52%)
HSVhsv(289, 50%, 70%)
CMYKcmyk(9.6%, 50%, 0%, 30.2%)
CIE-LABlab(49.42, 43.86, -35.28)
CIE-LCHlch(49.42, 56.29, 321.19°)
OKLaboklab(58.22% 0.1153 -0.0977)
OKLCHoklch(58.22% 0.151 319.7)
XYZxyz(26.3052, 17.9372, 44.1874)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159B2 #6AB259
analogous
#7459B2 #A159B2 #B25997
triadic
#A159B2 #B2A159 #59B2A1
tetradic
#A159B2 #B27459 #6AB259 #5997B2
square
#A159B2 #B27459 #6AB259 #5997B2
split-complementary
#A159B2 #97B259 #59B274
monochromatic
#592E63 #7E418D #A159B2 #B983C5 #D0ADD9

Accessibility & contrast

On white

4.58
#A159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A159B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159B2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159B2#FFFFFF#000000##000000
##A159B21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#A2657D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a159b2;
/* rgb */ color: rgb(161, 89, 178);
/* oklch */ color: oklch(58.2% 0.151 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf8ac9',
    500: '#a159b2',
    950: '#000000',
  },
}
SCSS
$custom: #a159b2;
$custom-light: #bf8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a159b2",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 288.539,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.1511,
    "h": 319.7
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#A159B2
secondary
#A7C7A0
accent
#CD5B71
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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