#A0158D#A0158D

#A0158D is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.205 H 335.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A0158D
RGBrgb(160, 21, 141)
HSLhsl(308, 77%, 35%)
HSVhsv(308, 87%, 63%)
CMYKcmyk(0%, 86.9%, 11.9%, 37.3%)
CIE-LABlab(37.73, 63.69, -31.58)
CIE-LCHlch(37.73, 71.09, 333.63°)
OKLaboklab(49.07% 0.1863 -0.0865)
OKLCHoklch(49.07% 0.205 335.1)
XYZxyz(19.5734, 9.9349, 26.0809)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0158D #15A028
analogous
#6D15A0 #A0158D #A01548
triadic
#A0158D #8DA015 #158DA0
tetradic
#A0158D #A06D15 #15A028 #1548A0
square
#A0158D #A06D15 #15A028 #1548A0
split-complementary
#A0158D #48A015 #15A06D
monochromatic
#34072E #6A0E5D #A0158D #D61CBD #E748D1

Accessibility & contrast

On white

7.03
#A0158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0158D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0158D#FFFFFF#000000##FFFFFF
##A0158D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A82554
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0158d;
/* rgb */ color: rgb(160, 21, 141);
/* oklch */ color: oklch(49.1% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#c068af',
    500: '#a0158d',
    950: '#000000',
  },
}
SCSS
$custom: #a0158d;
$custom-light: #c068af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0158d",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 308.201,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.20546,
    "h": 335.1
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#A0158D
secondary
#49C85A
accent
#F34F34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0158D

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

Preview Lab → · Contrast checker → · Palette generator →

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