#A151B4#A151B4

#A151B4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.166 H 319.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A151B4
RGBrgb(161, 81, 180)
HSLhsl(288, 40%, 51%)
HSVhsv(288, 55%, 71%)
CMYKcmyk(10.6%, 55%, 0%, 29.4%)
CIE-LABlab(47.95, 48.40, -38.76)
CIE-LCHlch(47.95, 62.01, 321.31°)
OKLaboklab(57.17% 0.1266 -0.1077)
OKLCHoklch(57.17% 0.166 319.6)
XYZxyz(25.8776, 16.7583, 45.0427)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151B4 #64B451
analogous
#6F51B4 #A151B4 #B45195
triadic
#A151B4 #B4A151 #51B4A1
tetradic
#A151B4 #B46F51 #64B451 #5195B4
square
#A151B4 #B46F51 #64B451 #5195B4
split-complementary
#A151B4 #95B451 #51B46F
monochromatic
#562A61 #7C3C8C #A151B4 #B87CC6 #CFA7D9

Accessibility & contrast

On white

4.83
#A151B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A151B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151B4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151B4#FFFFFF#000000##FFFFFF
##A151B41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB7
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#A2607B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a151b4;
/* rgb */ color: rgb(161, 81, 180);
/* oklch */ color: oklch(57.2% 0.166 319.6);
Tailwind
colors: {
  custom: {
    50: '#bf85cb',
    500: '#a151b4',
    950: '#000000',
  },
}
SCSS
$custom: #a151b4;
$custom-light: #bf85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a151b4",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 288.485,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.16624,
    "h": 319.6
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#A151B4
secondary
#A3C69B
accent
#D0586F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A151B4

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

Preview Lab → · Contrast checker → · Palette generator →

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