#A151BC#A151BC

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

Color values

HEX#A151BC
RGBrgb(161, 81, 188)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 57%, 74%)
CMYKcmyk(14.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(48.38, 50.04, -42.75)
CIE-LCHlch(48.38, 65.81, 319.49°)
OKLaboklab(57.62% 0.1272 -0.1193)
OKLCHoklch(57.62% 0.174 316.8)
XYZxyz(26.7161, 17.0937, 49.4593)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151BC #6CBC51
analogous
#6C51BC #A151BC #BC51A1
triadic
#A151BC #BCA151 #51BCA1
tetradic
#A151BC #BC6C51 #6CBC51 #51A1BC
square
#A151BC #BC6C51 #6CBC51 #51A1BC
split-complementary
#A151BC #A1BC51 #51BC6C
monochromatic
#59296A #7F3A96 #A151BC #B97DCD #D1A9DE

Accessibility & contrast

On white

4.75
#A151BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A151BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151BC#FFFFFF#000000##FFFFFF
##A151BC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#A0627F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151bc;
/* rgb */ color: rgb(161, 81, 188);
/* oklch */ color: oklch(57.6% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf86d0',
    500: '#a151bc',
    950: '#000000',
  },
}
SCSS
$custom: #a151bc;
$custom-light: #bf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a151bc",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 284.86,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.1744,
    "h": 316.8
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#A151BC
secondary
#A9CC9D
accent
#D45474
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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