#A751AB#A751AB

#A751AB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.161 H 325.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A751AB
RGBrgb(167, 81, 171)
HSLhsl(297, 36%, 49%)
HSVhsv(297, 53%, 67%)
CMYKcmyk(2.3%, 52.6%, 0%, 32.9%)
CIE-LABlab(48.31, 48.31, -32.86)
CIE-LCHlch(48.31, 58.43, 325.78°)
OKLaboklab(57.46% 0.1328 -0.0905)
OKLCHoklch(57.46% 0.161 325.7)
XYZxyz(26.2289, 17.0420, 40.4281)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751AB #55AB51
analogous
#7A51AB #A751AB #AB5182
triadic
#A751AB #ABA751 #51ABA7
tetradic
#A751AB #AB7A51 #55AB51 #5182AB
square
#A751AB #AB7A51 #55AB51 #5182AB
split-complementary
#A751AB #82AB51 #51AB7A
monochromatic
#562A58 #7E3D81 #A751AB #BD79C0 #D1A3D3

Accessibility & contrast

On white

4.76
#A751AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A751AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751AB#FFFFFF#000000##FFFFFF
##A751AB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAE
Deuteranopia (green-blind)
#6177A8
Tritanopia (blue-blind)
#AB5C76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751ab;
/* rgb */ color: rgb(167, 81, 171);
/* oklch */ color: oklch(57.5% 0.161 325.7);
Tailwind
colors: {
  custom: {
    50: '#c386c4',
    500: '#a751ab',
    950: '#000000',
  },
}
SCSS
$custom: #a751ab;
$custom-light: #c386c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ab",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 297.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.16072,
    "h": 325.7
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#A751AB
secondary
#99C197
accent
#CC5C61
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751AB

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

Preview Lab → · Contrast checker → · Palette generator →

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