#A02BB5#A02BB5

#A02BB5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.217 H 321.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A02BB5
RGBrgb(160, 43, 181)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11.6%, 76.2%, 0%, 29%)
CIE-LABlab(42.06, 64.45, -48.74)
CIE-LCHlch(42.06, 80.80, 322.90°)
OKLaboklab(52.9% 0.1685 -0.1366)
OKLCHoklch(52.9% 0.217 321)
XYZxyz(23.7006, 12.5388, 44.8790)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB5 #40B52B
analogous
#5B2BB5 #A02BB5 #B52B85
triadic
#A02BB5 #B5A02B #2BB5A0
tetradic
#A02BB5 #B55B2B #40B52B #2B85B5
square
#A02BB5 #B55B2B #40B52B #2B85B5
split-complementary
#A02BB5 #85B52B #2BB55B
monochromatic
#491452 #741F84 #A02BB5 #BF49D4 #D07BE0

Accessibility & contrast

On white

5.99
#A02BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A02BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BB5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB5#FFFFFF#000000##FFFFFF
##A02BB51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3C67B2
Tritanopia (blue-blind)
#A1476F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02bb5;
/* rgb */ color: rgb(160, 43, 181);
/* oklch */ color: oklch(52.9% 0.217 321.0);
Tailwind
colors: {
  custom: {
    50: '#c072cc',
    500: '#a02bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb5;
$custom-light: #c072cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb5",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 290.87,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.21691,
    "h": 321
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#A02BB5
secondary
#81C874
accent
#E5435C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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