#A0159E#A0159E

#A0159E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.217 H 328.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A0159E
RGBrgb(160, 21, 158)
HSLhsl(301, 77%, 35%)
HSVhsv(301, 87%, 63%)
CMYKcmyk(0%, 86.9%, 1.2%, 37.3%)
CIE-LABlab(38.69, 66.23, -40.40)
CIE-LCHlch(38.69, 77.58, 328.62°)
OKLaboklab(50.06% 0.186 -0.1121)
OKLCHoklch(50.06% 0.217 328.9)
XYZxyz(20.9368, 10.4802, 33.2613)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159E #15A017
analogous
#5C15A0 #A0159E #A01559
triadic
#A0159E #9EA015 #159EA0
tetradic
#A0159E #A05C15 #15A017 #1559A0
square
#A0159E #A05C15 #15A017 #1559A0
split-complementary
#A0159E #59A015 #15A05C
monochromatic
#340733 #6A0E69 #A0159E #D61CD3 #E748E5

Accessibility & contrast

On white

6.78
#A0159E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A0159E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0159E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159E#FFFFFF#000000##FFFFFF
##A0159E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#A6305E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159e;
/* rgb */ color: rgb(160, 21, 158);
/* oklch */ color: oklch(50.1% 0.217 328.9);
Tailwind
colors: {
  custom: {
    50: '#c069bb',
    500: '#a0159e',
    950: '#000000',
  },
}
SCSS
$custom: #a0159e;
$custom-light: #c069bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159e",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 300.863,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.21719,
    "h": 328.9
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#A0159E
secondary
#49C84A
accent
#F33734
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #A0159E

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

Preview Lab → · Contrast checker → · Palette generator →

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