#A051BB#A051BB

#A051BB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.173 H 316.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A051BB
RGBrgb(160, 81, 187)
HSLhsl(285, 44%, 53%)
HSVhsv(285, 57%, 73%)
CMYKcmyk(14.4%, 56.7%, 0%, 26.7%)
CIE-LABlab(48.19, 49.57, -42.47)
CIE-LCHlch(48.19, 65.27, 319.41°)
OKLaboklab(57.44% 0.1259 -0.1185)
OKLCHoklch(57.44% 0.173 316.7)
XYZxyz(26.4080, 16.9472, 48.8841)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051BB #6CBB51
analogous
#6B51BB #A051BB #BB51A1
triadic
#A051BB #BBA051 #51BBA0
tetradic
#A051BB #BB6B51 #6CBB51 #51A1BB
square
#A051BB #BB6B51 #6CBB51 #51A1BB
split-complementary
#A051BB #A1BB51 #51BB6B
monochromatic
#582969 #7E3A95 #A051BB #B87DCC #D0A9DD

Accessibility & contrast

On white

4.78
#A051BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A051BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A051BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051BB#FFFFFF#000000##FFFFFF
##A051BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#9F627E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a051bb;
/* rgb */ color: rgb(160, 81, 187);
/* oklch */ color: oklch(57.4% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#bf85d0',
    500: '#a051bb',
    950: '#000000',
  },
}
SCSS
$custom: #a051bb;
$custom-light: #bf85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a051bb",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 284.717,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.17293,
    "h": 316.7
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#A051BB
secondary
#A9CB9D
accent
#D45475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A051BB

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

Preview Lab → · Contrast checker → · Palette generator →

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