#A0198B#A0198B

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

Color values

HEX#A0198B
RGBrgb(160, 25, 139)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 63%)
CMYKcmyk(0%, 84.4%, 13.1%, 37.3%)
CIE-LABlab(37.90, 62.57, -30.07)
CIE-LCHlch(37.90, 69.42, 334.34°)
OKLaboklab(49.16% 0.1838 -0.0822)
OKLCHoklch(49.16% 0.201 335.9)
XYZxyz(19.5054, 10.0348, 25.3307)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0198B #19A02E
analogous
#7219A0 #A0198B #A01948
triadic
#A0198B #8BA019 #198BA0
tetradic
#A0198B #A07219 #19A02E #1948A0
square
#A0198B #A07219 #19A02E #1948A0
split-complementary
#A0198B #48A019 #19A072
monochromatic
#36082F #6B115D #A0198B #D521B9 #E450CD

Accessibility & contrast

On white

6.98
#A0198B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A0198B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0198B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0198B#FFFFFF#000000##FFFFFF
##A0198B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A92653
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0198b;
/* rgb */ color: rgb(160, 25, 139);
/* oklch */ color: oklch(49.2% 0.201 335.9);
Tailwind
colors: {
  custom: {
    50: '#c069ad',
    500: '#a0198b',
    950: '#000000',
  },
}
SCSS
$custom: #a0198b;
$custom-light: #c069ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a0198b",
  "rgb": {
    "r": 160,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 309.333,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.20134,
    "h": 335.9
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#A0198B
secondary
#4FC661
accent
#F05538
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0198B

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

Preview Lab → · Contrast checker → · Palette generator →

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