#A0198E#A0198E

#A0198E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.203 H 334.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A0198E
RGBrgb(160, 25, 142)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 63%)
CMYKcmyk(0%, 84.4%, 11.2%, 37.3%)
CIE-LABlab(38.06, 63.01, -31.66)
CIE-LCHlch(38.06, 70.51, 333.32°)
OKLaboklab(49.33% 0.1839 -0.0868)
OKLCHoklch(49.33% 0.203 334.7)
XYZxyz(19.7276, 10.1237, 26.5010)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0198E #19A02B
analogous
#6F19A0 #A0198E #A0194B
triadic
#A0198E #8EA019 #198EA0
tetradic
#A0198E #A06F19 #19A02B #194BA0
square
#A0198E #A06F19 #19A02B #194BA0
split-complementary
#A0198E #4BA019 #19A06F
monochromatic
#360830 #6B115F #A0198E #D521BD #E450D0

Accessibility & contrast

On white

6.94
#A0198E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A0198E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0198E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0198E#FFFFFF#000000##FFFFFF
##A0198E1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A82855
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0198e;
/* rgb */ color: rgb(160, 25, 142);
/* oklch */ color: oklch(49.3% 0.203 334.7);
Tailwind
colors: {
  custom: {
    50: '#c06aaf',
    500: '#a0198e',
    950: '#000000',
  },
}
SCSS
$custom: #a0198e;
$custom-light: #c06aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0198e",
  "rgb": {
    "r": 160,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 308,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49325,
    "c": 0.20336,
    "h": 334.7
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#A0198E
secondary
#4FC65F
accent
#F05138
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0198E

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

Preview Lab → · Contrast checker → · Palette generator →

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