#A151BD#A151BD

#A151BD is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.175 H 316.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A151BD
RGBrgb(161, 81, 189)
HSLhsl(284, 45%, 53%)
HSVhsv(284, 57%, 74%)
CMYKcmyk(14.8%, 57.1%, 0%, 25.9%)
CIE-LABlab(48.43, 50.24, -43.24)
CIE-LCHlch(48.43, 66.29, 319.28°)
OKLaboklab(57.67% 0.1273 -0.1207)
OKLCHoklch(57.67% 0.175 316.5)
XYZxyz(26.8243, 17.1370, 50.0290)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151BD #6DBD51
analogous
#6B51BD #A151BD #BD51A3
triadic
#A151BD #BDA151 #51BDA1
tetradic
#A151BD #BD6B51 #6DBD51 #51A3BD
square
#A151BD #BD6B51 #6DBD51 #51A3BD
split-complementary
#A151BD #A3BD51 #51BD6B
monochromatic
#5A296B #7F3997 #A151BD #B97DCE #D1AADF

Accessibility & contrast

On white

4.74
#A151BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A151BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151BD#FFFFFF#000000##FFFFFF
##A151BD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#A0637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151bd;
/* rgb */ color: rgb(161, 81, 189);
/* oklch */ color: oklch(57.7% 0.175 316.5);
Tailwind
colors: {
  custom: {
    50: '#bf86d1',
    500: '#a151bd',
    950: '#000000',
  },
}
SCSS
$custom: #a151bd;
$custom-light: #bf86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a151bd",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 284.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.17543,
    "h": 316.5
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#A151BD
secondary
#AACC9E
accent
#D55375
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A151BD

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

Preview Lab → · Contrast checker → · Palette generator →

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