#A0158F#A0158F

#A0158F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.207 H 334.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A0158F
RGBrgb(160, 21, 143)
HSLhsl(307, 77%, 35%)
HSVhsv(307, 87%, 63%)
CMYKcmyk(0%, 86.9%, 10.6%, 37.3%)
CIE-LABlab(37.83, 63.98, -32.64)
CIE-LCHlch(37.83, 71.82, 332.97°)
OKLaboklab(49.18% 0.1864 -0.0896)
OKLCHoklch(49.18% 0.207 334.3)
XYZxyz(19.7235, 9.9949, 26.8717)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0158F #15A026
analogous
#6B15A0 #A0158F #A01549
triadic
#A0158F #8FA015 #158FA0
tetradic
#A0158F #A06B15 #15A026 #1549A0
square
#A0158F #A06B15 #15A026 #1549A0
split-complementary
#A0158F #49A015 #15A06B
monochromatic
#34072E #6A0E5F #A0158F #D61CBF #E748D4

Accessibility & contrast

On white

7.00
#A0158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A0158F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0158F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0158F#FFFFFF#000000##FFFFFF
##A0158F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A82755
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0158f;
/* rgb */ color: rgb(160, 21, 143);
/* oklch */ color: oklch(49.2% 0.207 334.3);
Tailwind
colors: {
  custom: {
    50: '#c069b0',
    500: '#a0158f',
    950: '#000000',
  },
}
SCSS
$custom: #a0158f;
$custom-light: #c069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0158f",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 307.338,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.20679,
    "h": 334.3
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#A0158F
secondary
#49C858
accent
#F34C34
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0158F

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

Preview Lab → · Contrast checker → · Palette generator →

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