#A151C8#A151C8

#A151C8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.187 H 313.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A151C8
RGBrgb(161, 81, 200)
HSLhsl(280, 52%, 55%)
HSVhsv(280, 60%, 78%)
CMYKcmyk(19.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(49.05, 52.57, -48.62)
CIE-LCHlch(49.05, 71.60, 317.23°)
OKLaboklab(58.32% 0.1277 -0.1364)
OKLCHoklch(58.32% 0.187 313.1)
XYZxyz(28.0639, 17.6328, 56.5575)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151C8 #78C851
analogous
#6551C8 #A151C8 #C851B4
triadic
#A151C8 #C8A151 #51C8A1
tetradic
#A151C8 #C86551 #78C851 #51B4C8
square
#A151C8 #C86551 #78C851 #51B4C8
split-complementary
#A151C8 #B4C851 #51C865
monochromatic
#5D2679 #8235A7 #A151C8 #BA80D7 #D3AEE5

Accessibility & contrast

On white

4.64
#A151C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A151C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A151C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151C8#FFFFFF#000000##FFFFFF
##A151C81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#4B76C5
Tritanopia (blue-blind)
#9D6685
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151c8;
/* rgb */ color: rgb(161, 81, 200);
/* oklch */ color: oklch(58.3% 0.187 313.1);
Tailwind
colors: {
  custom: {
    50: '#c086d9',
    500: '#a151c8',
    950: '#000000',
  },
}
SCSS
$custom: #a151c8;
$custom-light: #c086d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a151c8",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 280.336,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.18684,
    "h": 313.1
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#A151C8
secondary
#B2D3A1
accent
#DB4C7B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151C8

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

Preview Lab → · Contrast checker → · Palette generator →

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