#A151BB#A151BB

#A151BB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.173 H 317.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A151BB
RGBrgb(161, 81, 187)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 57%, 73%)
CMYKcmyk(13.9%, 56.7%, 0%, 26.7%)
CIE-LABlab(48.32, 49.83, -42.25)
CIE-LCHlch(48.32, 65.33, 319.71°)
OKLaboklab(57.56% 0.1272 -0.1178)
OKLCHoklch(57.56% 0.173 317.2)
XYZxyz(26.6087, 17.0507, 48.8936)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151BB #6BBB51
analogous
#6C51BB #A151BB #BB51A0
triadic
#A151BB #BBA151 #51BBA1
tetradic
#A151BB #BB6C51 #6BBB51 #51A0BB
square
#A151BB #BB6C51 #6BBB51 #51A0BB
split-complementary
#A151BB #A0BB51 #51BB6C
monochromatic
#592969 #7E3A95 #A151BB #B97DCC #D1A9DD

Accessibility & contrast

On white

4.76
#A151BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A151BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151BB#FFFFFF#000000##FFFFFF
##A151BB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A0627E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151bb;
/* rgb */ color: rgb(161, 81, 187);
/* oklch */ color: oklch(57.6% 0.173 317.2);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a151bb',
    950: '#000000',
  },
}
SCSS
$custom: #a151bb;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a151bb",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 285.283,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.17337,
    "h": 317.2
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#A151BB
secondary
#A8CB9D
accent
#D45473
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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