#A751A4#A751A4

#A751A4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.1% C 0.154 H 328.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A751A4
RGBrgb(167, 81, 164)
HSLhsl(302, 35%, 49%)
HSVhsv(302, 51%, 65%)
CMYKcmyk(0%, 51.5%, 1.8%, 34.5%)
CIE-LABlab(47.98, 47.02, -29.26)
CIE-LCHlch(47.98, 55.38, 328.11°)
OKLaboklab(57.11% 0.1318 -0.0802)
OKLCHoklch(57.11% 0.154 328.7)
XYZxyz(25.5793, 16.7822, 37.0067)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A4 #51A754
analogous
#7F51A7 #A751A4 #A75179
triadic
#A751A4 #A4A751 #51A4A7
tetradic
#A751A4 #A77F51 #51A754 #5179A7
square
#A751A4 #A77F51 #51A754 #5179A7
split-complementary
#A751A4 #79A751 #51A77F
monochromatic
#552953 #7E3D7C #A751A4 #BD78BB #D1A1D0

Accessibility & contrast

On white

4.82
#A751A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A751A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A4#FFFFFF#000000##FFFFFF
##A751A41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA7
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#AC5A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a4;
/* rgb */ color: rgb(167, 81, 164);
/* oklch */ color: oklch(57.1% 0.154 328.7);
Tailwind
colors: {
  custom: {
    50: '#c385bf',
    500: '#a751a4',
    950: '#000000',
  },
}
SCSS
$custom: #a751a4;
$custom-light: #c385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a4",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 302.093,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.15422,
    "h": 328.7
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#A751A4
secondary
#95BF97
accent
#CB615D
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A4

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

Preview Lab → · Contrast checker → · Palette generator →

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