#A0158A#A0158A

#A0158A is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.203 H 336.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A0158A
RGBrgb(160, 21, 138)
HSLhsl(309, 77%, 35%)
HSVhsv(309, 87%, 63%)
CMYKcmyk(0%, 86.9%, 13.8%, 37.3%)
CIE-LABlab(37.57, 63.27, -29.98)
CIE-LCHlch(37.57, 70.01, 334.64°)
OKLaboklab(48.9% 0.1862 -0.0819)
OKLCHoklch(48.9% 0.203 336.3)
XYZxyz(19.3532, 9.8468, 24.9212)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0158A #15A02B
analogous
#7015A0 #A0158A #A01545
triadic
#A0158A #8AA015 #158AA0
tetradic
#A0158A #A07015 #15A02B #1545A0
square
#A0158A #A07015 #15A02B #1545A0
split-complementary
#A0158A #45A015 #15A070
monochromatic
#34072D #6A0E5B #A0158A #D61CB9 #E748CE

Accessibility & contrast

On white

7.07
#A0158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A0158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0158A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0158A#FFFFFF#000000##FFFFFF
##A0158A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8D
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#A92352
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a0158a;
/* rgb */ color: rgb(160, 21, 138);
/* oklch */ color: oklch(48.9% 0.203 336.3);
Tailwind
colors: {
  custom: {
    50: '#c068ac',
    500: '#a0158a',
    950: '#000000',
  },
}
SCSS
$custom: #a0158a;
$custom-light: #c068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0158a",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 309.496,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.20346,
    "h": 336.3
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#A0158A
secondary
#49C85D
accent
#F35334
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0158A

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

Preview Lab → · Contrast checker → · Palette generator →

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