#A151A2#A151A2

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

Color values

HEX#A151A2
RGBrgb(161, 81, 162)
HSLhsl(299, 33%, 48%)
HSVhsv(299, 50%, 64%)
CMYKcmyk(0.6%, 50%, 0%, 36.5%)
CIE-LABlab(47.07, 44.89, -29.56)
CIE-LCHlch(47.07, 53.75, 326.63°)
OKLaboklab(56.23% 0.1244 -0.0812)
OKLCHoklch(56.23% 0.149 326.9)
XYZxyz(24.1615, 16.0719, 36.0049)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151A2 #52A251
analogous
#7851A2 #A151A2 #A2517B
triadic
#A151A2 #A2A151 #51A2A1
tetradic
#A151A2 #A27851 #52A251 #517BA2
square
#A151A2 #A27851 #52A251 #517BA2
split-complementary
#A151A2 #7BA251 #51A278
monochromatic
#502850 #783D79 #A151A2 #BA76BA #CE9FCF

Accessibility & contrast

On white

4.98
#A151A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A151A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151A2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151A2#FFFFFF#000000##FFFFFF
##A151A21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#A55A72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a151a2;
/* rgb */ color: rgb(161, 81, 162);
/* oklch */ color: oklch(56.2% 0.149 326.9);
Tailwind
colors: {
  custom: {
    50: '#bf85be',
    500: '#a151a2',
    950: '#000000',
  },
}
SCSS
$custom: #a151a2;
$custom-light: #bf85be;
$custom-dark: #000000;
JSON
{
  "hex": "#a151a2",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 299.259,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.14851,
    "h": 326.9
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#A151A2
secondary
#93BC93
accent
#C95E60
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A151A2

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

Preview Lab → · Contrast checker → · Palette generator →

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