#A051EC#A051EC

#A051EC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.224 H 303.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A051EC
RGBrgb(160, 81, 236)
HSLhsl(271, 80%, 62%)
HSVhsv(271, 66%, 93%)
CMYKcmyk(32.2%, 65.7%, 0%, 7.5%)
CIE-LABlab(51.17, 60.39, -65.69)
CIE-LCHlch(51.17, 89.23, 312.59°)
OKLaboklab(60.55% 0.1247 -0.1865)
OKLCHoklch(60.55% 0.224 303.8)
XYZxyz(32.5765, 19.4146, 81.3718)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051EC #9DEC51
analogous
#5351EC #A051EC #EC51EA
triadic
#A051EC #ECA051 #51ECA0
tetradic
#A051EC #EC5351 #9DEC51 #51EAEC
square
#A051EC #EC5351 #9DEC51 #51EAEC
split-complementary
#A051EC #EAEC51 #51EC53
monochromatic
#6313AF #821AE6 #A051EC #BE88F2 #DCBFF8

Accessibility & contrast

On white

4.30
#A051EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A051EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051EC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051EC#FFFFFF#000000##000000
##A051EC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#917398
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a051ec;
/* rgb */ color: rgb(160, 81, 236);
/* oklch */ color: oklch(60.5% 0.224 303.8);
Tailwind
colors: {
  custom: {
    50: '#c187f3',
    500: '#a051ec',
    950: '#000000',
  },
}
SCSS
$custom: #a051ec;
$custom-light: #c187f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a051ec",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 270.581,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.22438,
    "h": 303.8
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#A051EC
secondary
#CCE9B0
accent
#DD0971
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A051EC

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

Preview Lab → · Contrast checker → · Palette generator →

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