#A02FB1#A02FB1

#A02FB1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 322.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A02FB1
RGBrgb(160, 47, 177)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 73%, 69%)
CMYKcmyk(9.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(42.28, 62.38, -46.02)
CIE-LCHlch(42.28, 77.52, 323.58°)
OKLaboklab(52.98% 0.1652 -0.1286)
OKLCHoklch(52.98% 0.209 322.1)
XYZxyz(23.4487, 12.6823, 42.7993)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB1 #40B12F
analogous
#5F2FB1 #A02FB1 #B12F81
triadic
#A02FB1 #B1A02F #2FB1A0
tetradic
#A02FB1 #B15F2F #40B12F #2F81B1
square
#A02FB1 #B15F2F #40B12F #2F81B1
split-complementary
#A02FB1 #81B12F #2FB15F
monochromatic
#491550 #742281 #A02FB1 #BF4DD0 #D07EDD

Accessibility & contrast

On white

5.94
#A02FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A02FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB1#FFFFFF#000000##FFFFFF
##A02FB11.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A2476E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02fb1;
/* rgb */ color: rgb(160, 47, 177);
/* oklch */ color: oklch(53.0% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#c073c9',
    500: '#a02fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb1;
$custom-light: #c073c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb1",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 292.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.20941,
    "h": 322.1
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#A02FB1
secondary
#81C576
accent
#E1475B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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