#A051E8#A051E8

#A051E8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.220 H 304.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A051E8
RGBrgb(160, 81, 232)
HSLhsl(271, 77%, 61%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(31%, 65.1%, 0%, 9%)
CIE-LABlab(50.90, 59.47, -63.87)
CIE-LCHlch(50.90, 87.27, 312.96°)
OKLaboklab(60.27% 0.1251 -0.1812)
OKLCHoklch(60.27% 0.22 304.6)
XYZxyz(32.0019, 19.1848, 78.3454)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051E8 #99E851
analogous
#5551E8 #A051E8 #E851E4
triadic
#A051E8 #E8A051 #51E8A0
tetradic
#A051E8 #E85551 #99E851 #51E4E8
square
#A051E8 #E85551 #99E851 #51E4E8
split-complementary
#A051E8 #E4E851 #51E855
monochromatic
#6316A8 #821DDE #A051E8 #BE87EF #DBBDF6

Accessibility & contrast

On white

4.34
#A051E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A051E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051E8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051E8#FFFFFF#000000##000000
##A051E81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#2279E5
Tritanopia (blue-blind)
#937296
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a051e8;
/* rgb */ color: rgb(160, 81, 232);
/* oklch */ color: oklch(60.3% 0.220 304.6);
Tailwind
colors: {
  custom: {
    50: '#c187f0',
    500: '#a051e8',
    950: '#000000',
  },
}
SCSS
$custom: #a051e8;
$custom-light: #c187f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a051e8",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 271.391,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.22017,
    "h": 304.6
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#A051E8
secondary
#C9E7AE
accent
#D90D6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A051E8

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

Preview Lab → · Contrast checker → · Palette generator →

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