#A02AEB#A02AEB

#A02AEB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.7% C 0.263 H 307.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A02AEB
RGBrgb(160, 42, 235)
HSLhsl(277, 83%, 54%)
HSVhsv(277, 82%, 92%)
CMYKcmyk(31.9%, 82.1%, 0%, 7.8%)
CIE-LABlab(45.81, 75.21, -73.83)
CIE-LCHlch(45.81, 105.39, 315.53°)
OKLaboklab(56.74% 0.1586 -0.2102)
OKLCHoklch(56.74% 0.263 307)
XYZxyz(30.3173, 15.1280, 79.9040)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AEB #75EB2A
analogous
#402AEB #A02AEB #EB2AD6
triadic
#A02AEB #EBA02A #2AEBA0
tetradic
#A02AEB #EB402A #75EB2A #2AD6EB
square
#A02AEB #EB402A #75EB2A #2AD6EB
split-complementary
#A02AEB #D6EB2A #2AEB40
monochromatic
#5C0D8D #8013C5 #A02AEB #B962F0 #D29AF6

Accessibility & contrast

On white

5.22
#A02AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A02AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AEB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AEB#FFFFFF#000000##FFFFFF
##A02AEB1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F0
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#93608E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a02aeb;
/* rgb */ color: rgb(160, 42, 235);
/* oklch */ color: oklch(56.7% 0.263 307.0);
Tailwind
colors: {
  custom: {
    50: '#c374f3',
    500: '#a02aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a02aeb;
$custom-light: #c374f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02aeb",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 235
  },
  "hsl": {
    "h": 276.684,
    "s": 82.833,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.26334,
    "h": 307
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#A02AEB
secondary
#AFE18F
accent
#F92F7D
background
#FCF7FF
surface
#F9EEFE
border
#D2C9D6
text
#140917
muted
#827B85

Preview Lab

Preview with #A02AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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