#A02BB7#A02BB7

#A02BB7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.219 H 320.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A02BB7
RGBrgb(160, 43, 183)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 77%, 72%)
CMYKcmyk(12.6%, 76.5%, 0%, 28.2%)
CIE-LABlab(42.19, 64.81, -49.71)
CIE-LCHlch(42.19, 81.68, 322.51°)
OKLaboklab(53.03% 0.1683 -0.1394)
OKLCHoklch(53.03% 0.219 320.4)
XYZxyz(23.9073, 12.6215, 45.9675)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BB7 #42B72B
analogous
#5A2BB7 #A02BB7 #B72B88
triadic
#A02BB7 #B7A02B #2BB7A0
tetradic
#A02BB7 #B75A2B #42B72B #2B88B7
square
#A02BB7 #B75A2B #42B72B #2B88B7
split-complementary
#A02BB7 #88B72B #2BB75A
monochromatic
#491454 #751F85 #A02BB7 #BE4BD5 #D07CE0

Accessibility & contrast

On white

5.96
#A02BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A02BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BB7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BB7#FFFFFF#000000##FFFFFF
##A02BB71.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#A14870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02bb7;
/* rgb */ color: rgb(160, 43, 183);
/* oklch */ color: oklch(53.0% 0.219 320.4);
Tailwind
colors: {
  custom: {
    50: '#c072cd',
    500: '#a02bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a02bb7;
$custom-light: #c072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bb7",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 290.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.21855,
    "h": 320.4
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#A02BB7
secondary
#83C975
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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