#A151AF#A151AF

#A151AF is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.9% C 0.161 H 321.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A151AF
RGBrgb(161, 81, 175)
HSLhsl(291, 37%, 50%)
HSVhsv(291, 54%, 69%)
CMYKcmyk(8%, 53.7%, 0%, 31.4%)
CIE-LABlab(47.70, 47.40, -36.23)
CIE-LCHlch(47.70, 59.66, 322.61°)
OKLaboklab(56.9% 0.1261 -0.1004)
OKLCHoklch(56.9% 0.161 321.5)
XYZxyz(25.3774, 16.5582, 42.4084)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151AF #5FAF51
analogous
#7251AF #A151AF #AF518E
triadic
#A151AF #AFA151 #51AFA1
tetradic
#A151AF #AF7251 #5FAF51 #518EAF
square
#A151AF #AF7251 #5FAF51 #518EAF
split-complementary
#A151AF #8EAF51 #51AF72
monochromatic
#542A5C #7B3D85 #A151AF #B87BC2 #CEA5D6

Accessibility & contrast

On white

4.87
#A151AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A151AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151AF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151AF#FFFFFF#000000##FFFFFF
##A151AF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#A35E78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a151af;
/* rgb */ color: rgb(161, 81, 175);
/* oklch */ color: oklch(56.9% 0.161 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf85c7',
    500: '#a151af',
    950: '#000000',
  },
}
SCSS
$custom: #a151af;
$custom-light: #bf85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a151af",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 291.064,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.1612,
    "h": 321.5
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#A151AF
secondary
#9FC399
accent
#CD5B6C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A151AF

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

Preview Lab → · Contrast checker → · Palette generator →

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