#A151E3#A151E3

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

Color values

HEX#A151E3
RGBrgb(161, 81, 227)
HSLhsl(273, 72%, 60%)
HSVhsv(273, 64%, 89%)
CMYKcmyk(29.1%, 64.3%, 0%, 11%)
CIE-LABlab(50.70, 58.54, -61.37)
CIE-LCHlch(50.70, 84.81, 313.64°)
OKLaboklab(60.05% 0.1268 -0.1738)
OKLCHoklch(60.05% 0.215 306.1)
XYZxyz(31.5025, 19.0083, 74.6675)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E3 #93E351
analogous
#5851E3 #A151E3 #E351DC
triadic
#A151E3 #E3A151 #51E3A1
tetradic
#A151E3 #E35851 #93E351 #51DCE3
square
#A151E3 #E35851 #93E351 #51DCE3
split-complementary
#A151E3 #DCE351 #51E358
monochromatic
#631AA0 #8422D5 #A151E3 #BD86EB #DABAF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A151E3#FFFFFF#000000##000000
##A151E31.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)
#0076E7
Deuteranopia (green-blind)
#2D79E0
Tritanopia (blue-blind)
#967093
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a151e3;
/* rgb */ color: rgb(161, 81, 227);
/* oklch */ color: oklch(60.0% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#c187ed',
    500: '#a151e3',
    950: '#000000',
  },
}
SCSS
$custom: #a151e3;
$custom-light: #c187ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e3",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 272.877,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.21516,
    "h": 306.1
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#A151E3
secondary
#C5E4AC
accent
#D41169
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A151E3

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

Preview Lab → · Contrast checker → · Palette generator →

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