#A02FB3#A02FB3

#A02FB3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.211 H 321.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A02FB3
RGBrgb(160, 47, 179)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(10.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(42.40, 62.74, -47.01)
CIE-LCHlch(42.40, 78.40, 323.16°)
OKLaboklab(53.11% 0.1651 -0.1315)
OKLCHoklch(53.11% 0.211 321.5)
XYZxyz(23.6495, 12.7626, 43.8568)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB3 #42B32F
analogous
#5E2FB3 #A02FB3 #B32F84
triadic
#A02FB3 #B3A02F #2FB3A0
tetradic
#A02FB3 #B35E2F #42B32F #2F84B3
square
#A02FB3 #B35E2F #42B32F #2F84B3
split-complementary
#A02FB3 #84B32F #2FB35E
monochromatic
#491652 #752283 #A02FB3 #BE4FD1 #D07FDD

Accessibility & contrast

On white

5.91
#A02FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A02FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB3#FFFFFF#000000##FFFFFF
##A02FB31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#A1486F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02fb3;
/* rgb */ color: rgb(160, 47, 179);
/* oklch */ color: oklch(53.1% 0.211 321.5);
Tailwind
colors: {
  custom: {
    50: '#c073ca',
    500: '#a02fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb3;
$custom-light: #c073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb3",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 291.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.21109,
    "h": 321.5
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#A02FB3
secondary
#83C678
accent
#E2465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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