#A02BAD#A02BAD

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

Color values

HEX#A02BAD
RGBrgb(160, 43, 173)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 68%)
CMYKcmyk(7.5%, 75.1%, 0%, 32.2%)
CIE-LABlab(41.56, 63.02, -44.80)
CIE-LCHlch(41.56, 77.32, 324.59°)
OKLaboklab(52.39% 0.1692 -0.125)
OKLCHoklch(52.39% 0.21 323.5)
XYZxyz(22.9032, 12.2199, 40.6794)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BAD #38AD2B
analogous
#5F2BAD #A02BAD #AD2B79
triadic
#A02BAD #ADA02B #2BADA0
tetradic
#A02BAD #AD5F2B #38AD2B #2B79AD
square
#A02BAD #AD5F2B #38AD2B #2B79AD
split-complementary
#A02BAD #79AD2B #2BAD5F
monochromatic
#45134B #731F7C #A02BAD #C345D1 #D376DD

Accessibility & contrast

On white

6.10
#A02BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02BAD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BAD#FFFFFF#000000##FFFFFF
##A02BAD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#A3436A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02bad;
/* rgb */ color: rgb(160, 43, 173);
/* oklch */ color: oklch(52.4% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#c071c6',
    500: '#a02bad',
    950: '#000000',
  },
}
SCSS
$custom: #a02bad;
$custom-light: #c071c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bad",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 294,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.21037,
    "h": 323.5
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#A02BAD
secondary
#78C46F
accent
#E34454
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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