#A751A6#A751A6

#A751A6 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.2% C 0.156 H 327.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A751A6
RGBrgb(167, 81, 166)
HSLhsl(301, 35%, 49%)
HSVhsv(301, 51%, 65%)
CMYKcmyk(0%, 51.5%, 0.6%, 34.5%)
CIE-LABlab(48.08, 47.39, -30.29)
CIE-LCHlch(48.08, 56.24, 327.41°)
OKLaboklab(57.21% 0.1321 -0.0831)
OKLCHoklch(57.21% 0.156 327.8)
XYZxyz(25.7613, 16.8550, 37.9654)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A6 #51A752
analogous
#7D51A7 #A751A6 #A7517B
triadic
#A751A6 #A6A751 #51A6A7
tetradic
#A751A6 #A77D51 #51A752 #517BA7
square
#A751A6 #A77D51 #51A752 #517BA7
split-complementary
#A751A6 #7BA751 #51A77D
monochromatic
#552954 #7E3D7D #A751A6 #BD78BD #D1A1D1

Accessibility & contrast

On white

4.80
#A751A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A751A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A6#FFFFFF#000000##FFFFFF
##A751A61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#AC5A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a6;
/* rgb */ color: rgb(167, 81, 166);
/* oklch */ color: oklch(57.2% 0.156 327.8);
Tailwind
colors: {
  custom: {
    50: '#c386c0',
    500: '#a751a6',
    950: '#000000',
  },
}
SCSS
$custom: #a751a6;
$custom-light: #c386c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a6",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 300.698,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.15605,
    "h": 327.8
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#A751A6
secondary
#95BF96
accent
#CB5E5D
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A6

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

Preview Lab → · Contrast checker → · Palette generator →

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