#A02BB6#A02BB6

#A02BB6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.218 H 320.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A02BB6
RGBrgb(160, 43, 182)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(12.1%, 76.4%, 0%, 28.6%)
CIE-LABlab(42.12, 64.63, -49.23)
CIE-LCHlch(42.12, 81.24, 322.71°)
OKLaboklab(52.97% 0.1684 -0.138)
OKLCHoklch(52.97% 0.218 320.7)
XYZxyz(23.8036, 12.5800, 45.4213)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB6 #41B62B
analogous
#5B2BB6 #A02BB6 #B62B87
triadic
#A02BB6 #B6A02B #2BB6A0
tetradic
#A02BB6 #B65B2B #41B62B #2B87B6
square
#A02BB6 #B65B2B #41B62B #2B87B6
split-complementary
#A02BB6 #87B62B #2BB65B
monochromatic
#491453 #741F84 #A02BB6 #BE4AD4 #D07BE0

Accessibility & contrast

On white

5.97
#A02BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A02BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BB6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB6#FFFFFF#000000##FFFFFF
##A02BB61.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3B67B3
Tritanopia (blue-blind)
#A14870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02bb6;
/* rgb */ color: rgb(160, 43, 182);
/* oklch */ color: oklch(53.0% 0.218 320.7);
Tailwind
colors: {
  custom: {
    50: '#c072cc',
    500: '#a02bb6',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb6;
$custom-light: #c072cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb6",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 290.504,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.21774,
    "h": 320.7
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#A02BB6
secondary
#82C875
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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