#A02BB4#A02BB4

#A02BB4 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.216 H 321.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A02BB4
RGBrgb(160, 43, 180)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(42.00, 64.27, -48.25)
CIE-LCHlch(42.00, 80.37, 323.10°)
OKLaboklab(52.84% 0.1686 -0.1351)
OKLCHoklch(52.84% 0.216 321.3)
XYZxyz(23.5984, 12.4979, 44.3405)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB4 #3FB42B
analogous
#5B2BB4 #A02BB4 #B42B83
triadic
#A02BB4 #B4A02B #2BB4A0
tetradic
#A02BB4 #B45B2B #3FB42B #2B83B4
square
#A02BB4 #B45B2B #3FB42B #2B83B4
split-complementary
#A02BB4 #83B42B #2BB45B
monochromatic
#481351 #741F83 #A02BB4 #BF49D3 #D07ADF

Accessibility & contrast

On white

6.00
#A02BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A02BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BB4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB4#FFFFFF#000000##FFFFFF
##A02BB41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#A1476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02bb4;
/* rgb */ color: rgb(160, 43, 180);
/* oklch */ color: oklch(52.8% 0.216 321.3);
Tailwind
colors: {
  custom: {
    50: '#c072cb',
    500: '#a02bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb4;
$custom-light: #c072cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb4",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 291.241,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.21608,
    "h": 321.3
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#A02BB4
secondary
#80C773
accent
#E5435B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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