#A151C0#A151C0

#A151C0 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.179 H 315.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A151C0
RGBrgb(161, 81, 192)
HSLhsl(283, 47%, 54%)
HSVhsv(283, 58%, 75%)
CMYKcmyk(16.1%, 57.8%, 0%, 24.7%)
CIE-LABlab(48.60, 50.87, -44.72)
CIE-LCHlch(48.60, 67.73, 318.68°)
OKLaboklab(57.85% 0.1274 -0.125)
OKLCHoklch(57.85% 0.179 315.5)
XYZxyz(27.1533, 17.2686, 51.7618)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151C0 #70C051
analogous
#6951C0 #A151C0 #C051A7
triadic
#A151C0 #C0A151 #51C0A1
tetradic
#A151C0 #C06951 #70C051 #51A7C0
square
#A151C0 #C06951 #70C051 #51A7C0
split-complementary
#A151C0 #A7C051 #51C069
monochromatic
#5B286F #80389B #A151C0 #B97ED0 #D2ABE1

Accessibility & contrast

On white

4.72
#A151C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A151C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151C0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151C0#FFFFFF#000000##FFFFFF
##A151C01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336FC4
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#9F6481
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151c0;
/* rgb */ color: rgb(161, 81, 192);
/* oklch */ color: oklch(57.8% 0.179 315.5);
Tailwind
colors: {
  custom: {
    50: '#bf86d3',
    500: '#a151c0',
    950: '#000000',
  },
}
SCSS
$custom: #a151c0;
$custom-light: #bf86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a151c0",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 283.243,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.17853,
    "h": 315.5
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#A151C0
secondary
#ACCE9F
accent
#D65177
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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