#A02BB2#A02BB2

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

Color values

HEX#A02BB2
RGBrgb(160, 43, 178)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 70%)
CMYKcmyk(10.1%, 75.8%, 0%, 30.2%)
CIE-LABlab(41.87, 63.91, -47.27)
CIE-LCHlch(41.87, 79.49, 323.51°)
OKLaboklab(52.71% 0.1688 -0.1323)
OKLCHoklch(52.71% 0.214 321.9)
XYZxyz(23.3961, 12.4170, 43.2752)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB2 #3DB22B
analogous
#5C2BB2 #A02BB2 #B22B80
triadic
#A02BB2 #B2A02B #2BB2A0
tetradic
#A02BB2 #B25C2B #3DB22B #2B80B2
square
#A02BB2 #B25C2B #3DB22B #2B80B2
split-complementary
#A02BB2 #80B22B #2BB25C
monochromatic
#47134F #741F81 #A02BB2 #C048D3 #D179DF

Accessibility & contrast

On white

6.03
#A02BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02BB2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB2#FFFFFF#000000##FFFFFF
##A02BB21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#A2466D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02bb2;
/* rgb */ color: rgb(160, 43, 178);
/* oklch */ color: oklch(52.7% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#c071ca',
    500: '#a02bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb2;
$custom-light: #c071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb2",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 292,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.21444,
    "h": 321.9
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#A02BB2
secondary
#7DC772
accent
#E44459
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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