#A04BA2#A04BA2

#A04BA2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.158 H 326.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A04BA2
RGBrgb(160, 75, 162)
HSLhsl(299, 37%, 46%)
HSVhsv(299, 54%, 64%)
CMYKcmyk(1.2%, 53.7%, 0%, 36.5%)
CIE-LABlab(45.79, 47.63, -31.57)
CIE-LCHlch(45.79, 57.14, 326.46°)
OKLaboklab(55.26% 0.1317 -0.0869)
OKLCHoklch(55.26% 0.158 326.6)
XYZxyz(23.5344, 15.1157, 35.8534)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04BA2 #4DA24B
analogous
#754BA2 #A04BA2 #A24B79
triadic
#A04BA2 #A2A04B #4BA2A0
tetradic
#A04BA2 #A2754B #4DA24B #4B79A2
square
#A04BA2 #A2754B #4DA24B #4B79A2
split-complementary
#A04BA2 #79A24B #4BA275
monochromatic
#4D244E #773878 #A04BA2 #BA6EBC #CE98CF

Accessibility & contrast

On white

5.22
#A04BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A04BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04BA2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04BA2#FFFFFF#000000##FFFFFF
##A04BA21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#A4556F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a04ba2;
/* rgb */ color: rgb(160, 75, 162);
/* oklch */ color: oklch(55.3% 0.158 326.6);
Tailwind
colors: {
  custom: {
    50: '#be81be',
    500: '#a04ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a04ba2;
$custom-light: #be81be;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ba2",
  "rgb": {
    "r": 160,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 298.621,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.15775,
    "h": 326.6
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#A04BA2
secondary
#8EBC8D
accent
#CD5B5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A04BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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