#A151BF#A151BF

#A151BF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.177 H 315.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A151BF
RGBrgb(161, 81, 191)
HSLhsl(284, 46%, 53%)
HSVhsv(284, 58%, 75%)
CMYKcmyk(15.7%, 57.6%, 0%, 25.1%)
CIE-LABlab(48.54, 50.66, -44.23)
CIE-LCHlch(48.54, 67.25, 318.88°)
OKLaboklab(57.79% 0.1274 -0.1236)
OKLCHoklch(57.79% 0.178 315.9)
XYZxyz(27.0429, 17.2244, 51.1802)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151BF #6FBF51
analogous
#6A51BF #A151BF #BF51A6
triadic
#A151BF #BFA151 #51BFA1
tetradic
#A151BF #BF6A51 #6FBF51 #51A6BF
square
#A151BF #BF6A51 #6FBF51 #51A6BF
split-complementary
#A151BF #A6BF51 #51BF6A
monochromatic
#5B286D #80399A #A151BF #B97ECF #D1AAE0

Accessibility & contrast

On white

4.72
#A151BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A151BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151BF#FFFFFF#000000##FFFFFF
##A151BF1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC3
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#9F6380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151bf;
/* rgb */ color: rgb(161, 81, 191);
/* oklch */ color: oklch(57.8% 0.177 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf86d3',
    500: '#a151bf',
    950: '#000000',
  },
}
SCSS
$custom: #a151bf;
$custom-light: #bf86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a151bf",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 283.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.1775,
    "h": 315.9
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#A151BF
secondary
#ABCE9E
accent
#D65276
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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