#A0198D#A0198D

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

Color values

HEX#A0198D
RGBrgb(160, 25, 141)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 63%)
CMYKcmyk(0%, 84.4%, 11.9%, 37.3%)
CIE-LABlab(38.01, 62.86, -31.13)
CIE-LCHlch(38.01, 70.15, 333.66°)
OKLaboklab(49.27% 0.1839 -0.0853)
OKLCHoklch(49.27% 0.203 335.1)
XYZxyz(19.6528, 10.0938, 26.1074)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0198D #19A02C
analogous
#7019A0 #A0198D #A0194A
triadic
#A0198D #8DA019 #198DA0
tetradic
#A0198D #A07019 #19A02C #194AA0
square
#A0198D #A07019 #19A02C #194AA0
split-complementary
#A0198D #4AA019 #19A070
monochromatic
#360830 #6B115E #A0198D #D521BC #E450CF

Accessibility & contrast

On white

6.96
#A0198D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0198D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0198D#FFFFFF#000000##FFFFFF
##A0198D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A82854
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0198d;
/* rgb */ color: rgb(160, 25, 141);
/* oklch */ color: oklch(49.3% 0.203 335.1);
Tailwind
colors: {
  custom: {
    50: '#c06aaf',
    500: '#a0198d',
    950: '#000000',
  },
}
SCSS
$custom: #a0198d;
$custom-light: #c06aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0198d",
  "rgb": {
    "r": 160,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 308.444,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49269,
    "c": 0.20268,
    "h": 335.1
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#A0198D
secondary
#4FC660
accent
#F05238
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A0198D

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

Preview Lab → · Contrast checker → · Palette generator →

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