#A151A3#A151A3

#A151A3 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.3% C 0.149 H 326.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A151A3
RGBrgb(161, 81, 163)
HSLhsl(299, 34%, 48%)
HSVhsv(299, 50%, 64%)
CMYKcmyk(1.2%, 50.3%, 0%, 36.1%)
CIE-LABlab(47.12, 45.08, -30.08)
CIE-LCHlch(47.12, 54.19, 326.28°)
OKLaboklab(56.28% 0.1245 -0.0827)
OKLCHoklch(56.28% 0.149 326.4)
XYZxyz(24.2508, 16.1076, 36.4749)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151A3 #53A351
analogous
#7851A3 #A151A3 #A3517C
triadic
#A151A3 #A3A151 #51A3A1
tetradic
#A151A3 #A37851 #53A351 #517CA3
square
#A151A3 #A37851 #53A351 #517CA3
split-complementary
#A151A3 #7CA351 #51A378
monochromatic
#502851 #793D7A #A151A3 #B976BB #CE9FCF

Accessibility & contrast

On white

4.97
#A151A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A151A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151A3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151A3#FFFFFF#000000##FFFFFF
##A151A31.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A6
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#A55A73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a151a3;
/* rgb */ color: rgb(161, 81, 163);
/* oklch */ color: oklch(56.3% 0.149 326.4);
Tailwind
colors: {
  custom: {
    50: '#bf85be',
    500: '#a151a3',
    950: '#000000',
  },
}
SCSS
$custom: #a151a3;
$custom-light: #bf85be;
$custom-dark: #000000;
JSON
{
  "hex": "#a151a3",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 298.537,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.14946,
    "h": 326.4
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#A151A3
secondary
#94BC93
accent
#CA5E61
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A151A3

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

Preview Lab → · Contrast checker → · Palette generator →

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