#A02FB4#A02FB4

#A02FB4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 321.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A02FB4
RGBrgb(160, 47, 180)
HSLhsl(291, 59%, 45%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(11.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(42.47, 62.93, -47.50)
CIE-LCHlch(42.47, 78.84, 322.95°)
OKLaboklab(53.17% 0.165 -0.133)
OKLCHoklch(53.17% 0.212 321.1)
XYZxyz(23.7510, 12.8032, 44.3914)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB4 #43B42F
analogous
#5D2FB4 #A02FB4 #B42F86
triadic
#A02FB4 #B4A02F #2FB4A0
tetradic
#A02FB4 #B45D2F #43B42F #2F86B4
square
#A02FB4 #B45D2F #43B42F #2F86B4
split-complementary
#A02FB4 #86B42F #2FB45D
monochromatic
#4A1653 #752283 #A02FB4 #BE4FD1 #D080DE

Accessibility & contrast

On white

5.90
#A02FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A02FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB4#FFFFFF#000000##FFFFFF
##A02FB41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#A1496F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02fb4;
/* rgb */ color: rgb(160, 47, 180);
/* oklch */ color: oklch(53.2% 0.212 321.1);
Tailwind
colors: {
  custom: {
    50: '#c073cb',
    500: '#a02fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb4;
$custom-light: #c073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb4",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 290.977,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.21193,
    "h": 321.1
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#A02FB4
secondary
#84C778
accent
#E2465D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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