#A04098#A04098

#A04098 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.3% C 0.166 H 331.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A04098
RGBrgb(160, 64, 152)
HSLhsl(305, 43%, 44%)
HSVhsv(305, 60%, 63%)
CMYKcmyk(0%, 60%, 5%, 37.3%)
CIE-LABlab(43.37, 51.07, -29.39)
CIE-LCHlch(43.37, 58.92, 330.08°)
OKLaboklab(53.33% 0.1452 -0.0805)
OKLCHoklch(53.33% 0.166 331)
XYZxyz(21.9980, 13.4089, 31.1292)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04098 #40A048
analogous
#7840A0 #A04098 #A04068
triadic
#A04098 #98A040 #4098A0
tetradic
#A04098 #A07840 #40A048 #4068A0
square
#A04098 #A07840 #40A048 #4068A0
split-complementary
#A04098 #68A040 #40A078
monochromatic
#491D45 #742F6E #A04098 #BF5EB7 #D08ACA

Accessibility & contrast

On white

5.70
#A04098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A04098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04098
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04098#FFFFFF#000000##FFFFFF
##A040981.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#A64966
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a04098;
/* rgb */ color: rgb(160, 64, 152);
/* oklch */ color: oklch(53.3% 0.166 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bb6',
    500: '#a04098',
    950: '#000000',
  },
}
SCSS
$custom: #a04098;
$custom-light: #bf7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04098",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 305,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.16607,
    "h": 331
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#A04098
secondary
#81BB86
accent
#D36055
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #A04098

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

Preview Lab → · Contrast checker → · Palette generator →

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