#A151E8#A151E8

#A151E8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.220 H 305.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A151E8
RGBrgb(161, 81, 232)
HSLhsl(272, 77%, 61%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.6%, 65.1%, 0%, 9%)
CIE-LABlab(51.02, 59.68, -63.67)
CIE-LCHlch(51.02, 87.26, 313.15°)
OKLaboklab(60.38% 0.1264 -0.1806)
OKLCHoklch(60.38% 0.22 305)
XYZxyz(32.2026, 19.2883, 78.3548)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E8 #98E851
analogous
#5651E8 #A151E8 #E851E4
triadic
#A151E8 #E8A151 #51E8A1
tetradic
#A151E8 #E85651 #98E851 #51E4E8
square
#A151E8 #E85651 #98E851 #51E4E8
split-complementary
#A151E8 #E4E851 #51E856
monochromatic
#6416A8 #841DDE #A151E8 #BE87EF #DBBDF6

Accessibility & contrast

On white

4.32
#A151E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A151E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151E8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151E8#FFFFFF#000000##000000
##A151E81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#947296
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a151e8;
/* rgb */ color: rgb(161, 81, 232);
/* oklch */ color: oklch(60.4% 0.220 305.0);
Tailwind
colors: {
  custom: {
    50: '#c287f0',
    500: '#a151e8',
    950: '#000000',
  },
}
SCSS
$custom: #a151e8;
$custom-light: #c287f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e8",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 271.788,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.2204,
    "h": 305
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A151E8

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

Preview Lab → · Contrast checker → · Palette generator →

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