#A151A7#A151A7

#A151A7 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.5% C 0.153 H 324.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A151A7
RGBrgb(161, 81, 167)
HSLhsl(296, 35%, 49%)
HSVhsv(296, 51%, 65%)
CMYKcmyk(3.6%, 51.5%, 0%, 34.5%)
CIE-LABlab(47.30, 45.84, -32.15)
CIE-LCHlch(47.30, 55.99, 324.96°)
OKLaboklab(56.48% 0.1251 -0.0886)
OKLCHoklch(56.48% 0.153 324.7)
XYZxyz(24.6148, 16.2532, 38.3924)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151A7 #57A751
analogous
#7651A7 #A151A7 #A75182
triadic
#A151A7 #A7A151 #51A7A1
tetradic
#A151A7 #A77651 #57A751 #5182A7
square
#A151A7 #A77651 #57A751 #5182A7
split-complementary
#A151A7 #82A751 #51A776
monochromatic
#522955 #793D7E #A151A7 #B978BD #CEA1D1

Accessibility & contrast

On white

4.94
#A151A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A151A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151A7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151A7#FFFFFF#000000##FFFFFF
##A151A71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#A45B74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a151a7;
/* rgb */ color: rgb(161, 81, 167);
/* oklch */ color: oklch(56.5% 0.153 324.7);
Tailwind
colors: {
  custom: {
    50: '#bf85c1',
    500: '#a151a7',
    950: '#000000',
  },
}
SCSS
$custom: #a151a7;
$custom-light: #bf85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a151a7",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 295.814,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.15331,
    "h": 324.7
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#A151A7
secondary
#98BF95
accent
#CB5D65
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A151A7

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

Preview Lab → · Contrast checker → · Palette generator →

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