#A02EB7#A02EB7

#A02EB7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.216 H 320.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A02EB7
RGBrgb(160, 46, 183)
HSLhsl(290, 60%, 45%)
HSVhsv(290, 75%, 72%)
CMYKcmyk(12.6%, 74.9%, 0%, 28.2%)
CIE-LABlab(42.53, 63.82, -49.16)
CIE-LCHlch(42.53, 80.56, 322.40°)
OKLaboklab(53.28% 0.1657 -0.1378)
OKLCHoklch(53.28% 0.216 320.2)
XYZxyz(24.0204, 12.8477, 46.0052)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EB7 #45B72E
analogous
#5C2EB7 #A02EB7 #B72E8A
triadic
#A02EB7 #B7A02E #2EB7A0
tetradic
#A02EB7 #B75C2E #45B72E #2E8AB7
square
#A02EB7 #B75C2E #45B72E #2E8AB7
split-complementary
#A02EB7 #8AB72E #2EB75C
monochromatic
#4A1555 #752286 #A02EB7 #BD4FD3 #CF80DF

Accessibility & contrast

On white

5.88
#A02EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A02EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EB7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EB7#FFFFFF#000000##FFFFFF
##A02EB71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#A14A71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02eb7;
/* rgb */ color: rgb(160, 46, 183);
/* oklch */ color: oklch(53.3% 0.216 320.2);
Tailwind
colors: {
  custom: {
    50: '#c073cd',
    500: '#a02eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a02eb7;
$custom-light: #c073cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eb7",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 289.927,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.21551,
    "h": 320.2
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#A02EB7
secondary
#86C879
accent
#E3455F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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