#A151BE#A151BE

#A151BE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.176 H 316.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A151BE
RGBrgb(161, 81, 190)
HSLhsl(284, 46%, 53%)
HSVhsv(284, 57%, 75%)
CMYKcmyk(15.3%, 57.4%, 0%, 25.5%)
CIE-LABlab(48.49, 50.45, -43.73)
CIE-LCHlch(48.49, 66.77, 319.08°)
OKLaboklab(57.73% 0.1273 -0.1222)
OKLCHoklch(57.73% 0.176 316.2)
XYZxyz(26.9332, 17.1805, 50.6026)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151BE #6EBE51
analogous
#6A51BE #A151BE #BE51A4
triadic
#A151BE #BEA151 #51BEA1
tetradic
#A151BE #BE6A51 #6EBE51 #51A4BE
square
#A151BE #BE6A51 #6EBE51 #51A4BE
split-complementary
#A151BE #A4BE51 #51BE6A
monochromatic
#5A286C #7F3999 #A151BE #B97ECF #D1AADF

Accessibility & contrast

On white

4.73
#A151BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A151BE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151BE#FFFFFF#000000##FFFFFF
##A151BE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#5276BB
Tritanopia (blue-blind)
#9F6380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a151be;
/* rgb */ color: rgb(161, 81, 190);
/* oklch */ color: oklch(57.7% 0.176 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf86d2',
    500: '#a151be',
    950: '#000000',
  },
}
SCSS
$custom: #a151be;
$custom-light: #bf86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a151be",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 284.037,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.17646,
    "h": 316.2
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A151BE

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

Preview Lab → · Contrast checker → · Palette generator →

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