#A02BB1#A02BB1

#A02BB1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.214 H 322.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A02BB1
RGBrgb(160, 43, 177)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(9.6%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.81, 63.73, -46.78)
CIE-LCHlch(41.81, 79.06, 323.72°)
OKLaboklab(52.64% 0.1689 -0.1308)
OKLCHoklch(52.64% 0.214 322.2)
XYZxyz(23.2961, 12.3770, 42.7484)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB1 #3CB12B
analogous
#5D2BB1 #A02BB1 #B12B7F
triadic
#A02BB1 #B1A02B #2BB1A0
tetradic
#A02BB1 #B15D2B #3CB12B #2B7FB1
square
#A02BB1 #B15D2B #3CB12B #2B7FB1
split-complementary
#A02BB1 #7FB12B #2BB15D
monochromatic
#47134F #731F80 #A02BB1 #C147D2 #D178DE

Accessibility & contrast

On white

6.04
#A02BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A02BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BB1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB1#FFFFFF#000000##FFFFFF
##A02BB11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#A2456D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02bb1;
/* rgb */ color: rgb(160, 43, 177);
/* oklch */ color: oklch(52.6% 0.214 322.2);
Tailwind
colors: {
  custom: {
    50: '#c071c9',
    500: '#a02bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb1;
$custom-light: #c071c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb1",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 292.388,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.21363,
    "h": 322.2
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#A02BB1
secondary
#7CC672
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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