#A151E1#A151E1

#A151E1 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.9% C 0.213 H 306.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A151E1
RGBrgb(161, 81, 225)
HSLhsl(273, 71%, 60%)
HSVhsv(273, 64%, 88%)
CMYKcmyk(28.4%, 64%, 0%, 11.8%)
CIE-LABlab(50.57, 58.08, -60.45)
CIE-LCHlch(50.57, 83.83, 313.86°)
OKLaboklab(59.91% 0.1269 -0.1711)
OKLCHoklch(59.91% 0.213 306.6)
XYZxyz(31.2281, 18.8985, 73.2222)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E1 #91E151
analogous
#5951E1 #A151E1 #E151D9
triadic
#A151E1 #E1A151 #51E1A1
tetradic
#A151E1 #E15951 #91E151 #51D9E1
square
#A151E1 #E15951 #91E151 #51D9E1
split-complementary
#A151E1 #D9E151 #51E159
monochromatic
#631B9D #8424D1 #A151E1 #BD85EA #D9B9F3

Accessibility & contrast

On white

4.39
#A151E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A151E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151E1#FFFFFF#000000##000000
##A151E11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#966F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a151e1;
/* rgb */ color: rgb(161, 81, 225);
/* oklch */ color: oklch(59.9% 0.213 306.6);
Tailwind
colors: {
  custom: {
    50: '#c187eb',
    500: '#a151e1',
    950: '#000000',
  },
}
SCSS
$custom: #a151e1;
$custom-light: #c187eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e1",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 273.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.21306,
    "h": 306.6
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#A151E1
secondary
#C4E3AB
accent
#ED3A8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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