#A0159F#A0159F

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

Color values

HEX#A0159F
RGBrgb(160, 21, 159)
HSLhsl(300, 77%, 35%)
HSVhsv(300, 87%, 63%)
CMYKcmyk(0%, 86.9%, 0.6%, 37.3%)
CIE-LABlab(38.75, 66.39, -40.91)
CIE-LCHlch(38.75, 77.98, 328.36°)
OKLaboklab(50.12% 0.186 -0.1136)
OKLCHoklch(50.12% 0.218 328.6)
XYZxyz(21.0232, 10.5148, 33.7165)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159F #15A016
analogous
#5C15A0 #A0159F #A01559
triadic
#A0159F #9FA015 #159FA0
tetradic
#A0159F #A05C15 #15A016 #1559A0
square
#A0159F #A05C15 #15A016 #1559A0
split-complementary
#A0159F #59A015 #15A05C
monochromatic
#340733 #6A0E69 #A0159F #D61CD5 #E748E6

Accessibility & contrast

On white

6.77
#A0159F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0159F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159F#FFFFFF#000000##FFFFFF
##A0159F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A6315E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159f;
/* rgb */ color: rgb(160, 21, 159);
/* oklch */ color: oklch(50.1% 0.218 328.6);
Tailwind
colors: {
  custom: {
    50: '#c069bc',
    500: '#a0159f',
    950: '#000000',
  },
}
SCSS
$custom: #a0159f;
$custom-light: #c069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159f",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 300.432,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.2179,
    "h": 328.6
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A0159F

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

Preview Lab → · Contrast checker → · Palette generator →

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