#A151AA#A151AA

#A151AA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.6% C 0.156 H 323.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A151AA
RGBrgb(161, 81, 170)
HSLhsl(294, 35%, 49%)
HSVhsv(294, 52%, 67%)
CMYKcmyk(5.3%, 52.4%, 0%, 33.3%)
CIE-LABlab(47.45, 46.42, -33.69)
CIE-LCHlch(47.45, 57.35, 324.03°)
OKLaboklab(56.63% 0.1255 -0.093)
OKLCHoklch(56.63% 0.156 323.5)
XYZxyz(24.8954, 16.3654, 39.8699)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151AA #5AAA51
analogous
#7551AA #A151AA #AA5187
triadic
#A151AA #AAA151 #51AAA1
tetradic
#A151AA #AA7551 #5AAA51 #5187AA
square
#A151AA #AA7551 #5AAA51 #5187AA
split-complementary
#A151AA #87AA51 #51AA75
monochromatic
#522A57 #7A3D81 #A151AA #B879BF #CEA2D3

Accessibility & contrast

On white

4.91
#A151AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A151AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151AA#FFFFFF#000000##FFFFFF
##A151AA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#A45C76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a151aa;
/* rgb */ color: rgb(161, 81, 170);
/* oklch */ color: oklch(56.6% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#bf85c3',
    500: '#a151aa',
    950: '#000000',
  },
}
SCSS
$custom: #a151aa;
$custom-light: #bf85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a151aa",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 293.933,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.15624,
    "h": 323.5
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#A151AA
secondary
#9BC097
accent
#CB5C68
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #A151AA

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

Preview Lab → · Contrast checker → · Palette generator →

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