#A0158E#A0158E

#A0158E is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.206 H 334.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A0158E
RGBrgb(160, 21, 142)
HSLhsl(308, 77%, 35%)
HSVhsv(308, 87%, 63%)
CMYKcmyk(0%, 86.9%, 11.2%, 37.3%)
CIE-LABlab(37.78, 63.83, -32.11)
CIE-LCHlch(37.78, 71.45, 333.30°)
OKLaboklab(49.12% 0.1864 -0.088)
OKLCHoklch(49.12% 0.206 334.7)
XYZxyz(19.6481, 9.9648, 26.4745)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0158E #15A027
analogous
#6C15A0 #A0158E #A01548
triadic
#A0158E #8EA015 #158EA0
tetradic
#A0158E #A06C15 #15A027 #1548A0
square
#A0158E #A06C15 #15A027 #1548A0
split-complementary
#A0158E #48A015 #15A06C
monochromatic
#34072E #6A0E5E #A0158E #D61CBE #E748D2

Accessibility & contrast

On white

7.02
#A0158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A0158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0158E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0158E#FFFFFF#000000##FFFFFF
##A0158E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A82654
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0158e;
/* rgb */ color: rgb(160, 21, 142);
/* oklch */ color: oklch(49.1% 0.206 334.7);
Tailwind
colors: {
  custom: {
    50: '#c069af',
    500: '#a0158e',
    950: '#000000',
  },
}
SCSS
$custom: #a0158e;
$custom-light: #c069af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0158e",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 307.77,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.20612,
    "h": 334.7
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#A0158E
secondary
#49C859
accent
#F34D34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0158E

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

Preview Lab → · Contrast checker → · Palette generator →

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