#A0158C#A0158C

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

Color values

HEX#A0158C
RGBrgb(160, 21, 140)
HSLhsl(309, 77%, 35%)
HSVhsv(309, 87%, 63%)
CMYKcmyk(0%, 86.9%, 12.5%, 37.3%)
CIE-LABlab(37.67, 63.55, -31.05)
CIE-LCHlch(37.67, 70.73, 333.96°)
OKLaboklab(49.01% 0.1863 -0.085)
OKLCHoklch(49.01% 0.205 335.5)
XYZxyz(19.4993, 9.9052, 25.6908)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0158C #15A029
analogous
#6E15A0 #A0158C #A01546
triadic
#A0158C #8CA015 #158CA0
tetradic
#A0158C #A06E15 #15A029 #1546A0
square
#A0158C #A06E15 #15A029 #1546A0
split-complementary
#A0158C #46A015 #15A06E
monochromatic
#34072D #6A0E5D #A0158C #D61CBB #E748D0

Accessibility & contrast

On white

7.05
#A0158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A0158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0158C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0158C#FFFFFF#000000##FFFFFF
##A0158C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A82553
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0158c;
/* rgb */ color: rgb(160, 21, 140);
/* oklch */ color: oklch(49.0% 0.205 335.5);
Tailwind
colors: {
  custom: {
    50: '#c068ae',
    500: '#a0158c',
    950: '#000000',
  },
}
SCSS
$custom: #a0158c;
$custom-light: #c068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0158c",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 308.633,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.20479,
    "h": 335.5
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#A0158C
secondary
#49C85B
accent
#F35034
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0158C

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

Preview Lab → · Contrast checker → · Palette generator →

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