#A151E0#A151E0

#A151E0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.212 H 306.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A151E0
RGBrgb(161, 81, 224)
HSLhsl(274, 70%, 60%)
HSVhsv(274, 64%, 88%)
CMYKcmyk(28.1%, 63.8%, 0%, 12.2%)
CIE-LABlab(50.50, 57.86, -59.99)
CIE-LCHlch(50.50, 83.34, 313.96°)
OKLaboklab(59.85% 0.127 -0.1698)
OKLCHoklch(59.85% 0.212 306.8)
XYZxyz(31.0921, 18.8441, 72.5059)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E0 #90E051
analogous
#5951E0 #A151E0 #E051D8
triadic
#A151E0 #E0A151 #51E0A1
tetradic
#A151E0 #E05951 #90E051 #51D8E0
square
#A151E0 #E05951 #90E051 #51D8E0
split-complementary
#A151E0 #D8E051 #51E059
monochromatic
#631C9B #8425CF #A151E0 #BD85E9 #D9B9F3

Accessibility & contrast

On white

4.40
#A151E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A151E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151E0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151E0#FFFFFF#000000##000000
##A151E01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#976F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a151e0;
/* rgb */ color: rgb(161, 81, 224);
/* oklch */ color: oklch(59.8% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#c186ea',
    500: '#a151e0',
    950: '#000000',
  },
}
SCSS
$custom: #a151e0;
$custom-light: #c186ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e0",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 273.566,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.21201,
    "h": 306.8
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#A151E0
secondary
#C3E2AB
accent
#ED3B89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A151E0

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

Preview Lab → · Contrast checker → · Palette generator →

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