#A02CB1#A02CB1

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

Color values

HEX#A02CB1
RGBrgb(160, 44, 177)
HSLhsl(292, 60%, 43%)
HSVhsv(292, 75%, 69%)
CMYKcmyk(9.6%, 75.1%, 0%, 30.6%)
CIE-LABlab(41.92, 63.40, -46.59)
CIE-LCHlch(41.92, 78.68, 323.69°)
OKLaboklab(52.72% 0.168 -0.1303)
OKLCHoklch(52.72% 0.213 322.2)
XYZxyz(23.3329, 12.4506, 42.7607)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CB1 #3DB12C
analogous
#5D2CB1 #A02CB1 #B12C7F
triadic
#A02CB1 #B1A02C #2CB1A0
tetradic
#A02CB1 #B15D2C #3DB12C #2C7FB1
square
#A02CB1 #B15D2C #3DB12C #2C7FB1
split-complementary
#A02CB1 #7FB12C #2CB15D
monochromatic
#47144F #742080 #A02CB1 #C049D2 #D17ADE

Accessibility & contrast

On white

6.02
#A02CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A02CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CB1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CB1#FFFFFF#000000##FFFFFF
##A02CB11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#A2466D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02cb1;
/* rgb */ color: rgb(160, 44, 177);
/* oklch */ color: oklch(52.7% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#c072c9',
    500: '#a02cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a02cb1;
$custom-light: #c072c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cb1",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 292.331,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.2126,
    "h": 322.2
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#A02CB1
secondary
#7DC673
accent
#E34459
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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