#A02EBA#A02EBA

#A02EBA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.218 H 319.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A02EBA
RGBrgb(160, 46, 186)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 73%)
CMYKcmyk(14%, 75.3%, 0%, 27.1%)
CIE-LABlab(42.72, 64.38, -50.61)
CIE-LCHlch(42.72, 81.89, 321.83°)
OKLaboklab(53.47% 0.1654 -0.1421)
OKLCHoklch(53.47% 0.218 319.3)
XYZxyz(24.3360, 12.9739, 47.6672)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EBA #48BA2E
analogous
#5A2EBA #A02EBA #BA2E8E
triadic
#A02EBA #BAA02E #2EBAA0
tetradic
#A02EBA #BA5A2E #48BA2E #2E8EBA
square
#A02EBA #BA5A2E #48BA2E #2E8EBA
split-complementary
#A02EBA #8EBA2E #2EBA5A
monochromatic
#4C1658 #762289 #A02EBA #BC51D4 #CF82E0

Accessibility & contrast

On white

5.84
#A02EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A02EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EBA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EBA#FFFFFF#000000##FFFFFF
##A02EBA1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3969B7
Tritanopia (blue-blind)
#A04B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02eba;
/* rgb */ color: rgb(160, 46, 186);
/* oklch */ color: oklch(53.5% 0.218 319.3);
Tailwind
colors: {
  custom: {
    50: '#c073cf',
    500: '#a02eba',
    950: '#000000',
  },
}
SCSS
$custom: #a02eba;
$custom-light: #c073cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eba",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 288.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.21803,
    "h": 319.3
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#A02EBA
secondary
#89C97B
accent
#E34462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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