#A151E9#A151E9

#A151E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.221 H 304.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A151E9
RGBrgb(161, 81, 233)
HSLhsl(272, 78%, 62%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.9%, 65.2%, 0%, 8.6%)
CIE-LABlab(51.09, 59.91, -64.12)
CIE-LCHlch(51.09, 87.75, 313.05°)
OKLaboklab(60.45% 0.1263 -0.1819)
OKLCHoklch(60.45% 0.221 304.8)
XYZxyz(32.3451, 19.3453, 79.1050)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E9 #99E951
analogous
#5551E9 #A151E9 #E951E5
triadic
#A151E9 #E9A151 #51E9A1
tetradic
#A151E9 #E95551 #99E951 #51E5E9
square
#A151E9 #E95551 #99E951 #51E5E9
split-complementary
#A151E9 #E5E951 #51E955
monochromatic
#6416AA #841CE0 #A151E9 #BE87F0 #DCBEF7

Accessibility & contrast

On white

4.31
#A151E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A151E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151E9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151E9#FFFFFF#000000##000000
##A151E91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#227AE6
Tritanopia (blue-blind)
#947296
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a151e9;
/* rgb */ color: rgb(161, 81, 233);
/* oklch */ color: oklch(60.5% 0.221 304.8);
Tailwind
colors: {
  custom: {
    50: '#c287f1',
    500: '#a151e9',
    950: '#000000',
  },
}
SCSS
$custom: #a151e9;
$custom-light: #c287f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e9",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 271.579,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.22145,
    "h": 304.8
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#A151E9
secondary
#C9E7AF
accent
#DA0C6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A151E9

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

Preview Lab → · Contrast checker → · Palette generator →

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