#A351BB#A351BB

#A351BB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.174 H 318.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A351BB
RGBrgb(163, 81, 187)
HSLhsl(286, 44%, 53%)
HSVhsv(286, 57%, 73%)
CMYKcmyk(12.8%, 56.7%, 0%, 26.7%)
CIE-LABlab(48.59, 50.36, -41.82)
CIE-LCHlch(48.59, 65.46, 320.29°)
OKLaboklab(57.81% 0.1296 -0.1165)
OKLCHoklch(57.81% 0.174 318)
XYZxyz(27.0151, 17.2603, 48.9126)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351BB #69BB51
analogous
#6E51BB #A351BB #BB519E
triadic
#A351BB #BBA351 #51BBA3
tetradic
#A351BB #BB6E51 #69BB51 #519EBB
square
#A351BB #BB6E51 #69BB51 #519EBB
split-complementary
#A351BB #9EBB51 #51BB6E
monochromatic
#5A2969 #803A95 #A351BB #BA7DCC #D2A9DD

Accessibility & contrast

On white

4.72
#A351BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A351BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A351BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351BB#FFFFFF#000000##FFFFFF
##A351BB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#A3627E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a351bb;
/* rgb */ color: rgb(163, 81, 187);
/* oklch */ color: oklch(57.8% 0.174 318.0);
Tailwind
colors: {
  custom: {
    50: '#c186d0',
    500: '#a351bb',
    950: '#000000',
  },
}
SCSS
$custom: #a351bb;
$custom-light: #c186d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a351bb",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 286.415,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.1743,
    "h": 318
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#A351BB
secondary
#A7CB9D
accent
#D45471
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A351BB

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

Preview Lab → · Contrast checker → · Palette generator →

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