#A02BAC#A02BAC

#A02BAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 323.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A02BAC
RGBrgb(160, 43, 172)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 67%)
CMYKcmyk(7%, 75%, 0%, 32.5%)
CIE-LABlab(41.50, 62.85, -44.30)
CIE-LCHlch(41.50, 76.89, 324.82°)
OKLaboklab(52.33% 0.1692 -0.1236)
OKLCHoklch(52.33% 0.21 323.9)
XYZxyz(22.8068, 12.1813, 40.1717)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BAC #37AC2B
analogous
#602BAC #A02BAC #AC2B77
triadic
#A02BAC #ACA02B #2BACA0
tetradic
#A02BAC #AC602B #37AC2B #2B77AC
square
#A02BAC #AC602B #37AC2B #2B77AC
split-complementary
#A02BAC #77AC2B #2BAC60
monochromatic
#45134A #721F7B #A02BAC #C344D0 #D375DC

Accessibility & contrast

On white

6.11
#A02BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A02BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BAC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BAC#FFFFFF#000000##FFFFFF
##A02BAC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#A3436A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02bac;
/* rgb */ color: rgb(160, 43, 172);
/* oklch */ color: oklch(52.3% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#c071c5',
    500: '#a02bac',
    950: '#000000',
  },
}
SCSS
$custom: #a02bac;
$custom-light: #c071c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bac",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 294.419,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.20956,
    "h": 323.9
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#A02BAC
secondary
#77C46F
accent
#E34553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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