#A0198F#A0198F

#A0198F is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 334.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A0198F
RGBrgb(160, 25, 143)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 63%)
CMYKcmyk(0%, 84.4%, 10.6%, 37.3%)
CIE-LABlab(38.12, 63.15, -32.19)
CIE-LCHlch(38.12, 70.88, 332.99°)
OKLaboklab(49.38% 0.184 -0.0883)
OKLCHoklch(49.38% 0.204 334.4)
XYZxyz(19.8030, 10.1538, 26.8982)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0198F #19A02A
analogous
#6E19A0 #A0198F #A0194C
triadic
#A0198F #8FA019 #198FA0
tetradic
#A0198F #A06E19 #19A02A #194CA0
square
#A0198F #A06E19 #19A02A #194CA0
split-complementary
#A0198F #4CA019 #19A06E
monochromatic
#360830 #6B1160 #A0198F #D521BE #E450D1

Accessibility & contrast

On white

6.93
#A0198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A0198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0198F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0198F#FFFFFF#000000##FFFFFF
##A0198F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A82955
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a0198f;
/* rgb */ color: rgb(160, 25, 143);
/* oklch */ color: oklch(49.4% 0.204 334.4);
Tailwind
colors: {
  custom: {
    50: '#c06ab0',
    500: '#a0198f',
    950: '#000000',
  },
}
SCSS
$custom: #a0198f;
$custom-light: #c06ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0198f",
  "rgb": {
    "r": 160,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 307.556,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.20405,
    "h": 334.4
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#A0198F
secondary
#4FC65E
accent
#F04F38
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0198F

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

Preview Lab → · Contrast checker → · Palette generator →

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