#A051E5#A051E5

#A051E5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.217 H 305.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A051E5
RGBrgb(160, 81, 229)
HSLhsl(272, 74%, 61%)
HSVhsv(272, 65%, 90%)
CMYKcmyk(30.1%, 64.6%, 0%, 10.2%)
CIE-LABlab(50.71, 58.78, -62.49)
CIE-LCHlch(50.71, 85.79, 313.25°)
OKLaboklab(60.07% 0.1253 -0.1772)
OKLCHoklch(60.07% 0.217 305.3)
XYZxyz(31.5794, 19.0158, 76.1203)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051E5 #96E551
analogous
#5651E5 #A051E5 #E551E0
triadic
#A051E5 #E5A051 #51E5A0
tetradic
#A051E5 #E55651 #96E551 #51E0E5
square
#A051E5 #E55651 #96E551 #51E0E5
split-complementary
#A051E5 #E0E551 #51E556
monochromatic
#6218A3 #8320D8 #A051E5 #BD86ED #DABBF5

Accessibility & contrast

On white

4.37
#A051E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A051E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051E5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051E5#FFFFFF#000000##000000
##A051E51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#947194
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a051e5;
/* rgb */ color: rgb(160, 81, 229);
/* oklch */ color: oklch(60.1% 0.217 305.3);
Tailwind
colors: {
  custom: {
    50: '#c187ee',
    500: '#a051e5',
    950: '#000000',
  },
}
SCSS
$custom: #a051e5;
$custom-light: #c187ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a051e5",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 272.027,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.21702,
    "h": 305.3
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#A051E5
secondary
#C7E5AD
accent
#D60F6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A051E5

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

Preview Lab → · Contrast checker → · Palette generator →

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