#A751AC#A751AC

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

Color values

HEX#A751AC
RGBrgb(167, 81, 172)
HSLhsl(297, 36%, 50%)
HSVhsv(297, 53%, 67%)
CMYKcmyk(2.9%, 52.9%, 0%, 32.5%)
CIE-LABlab(48.36, 48.50, -33.38)
CIE-LCHlch(48.36, 58.88, 325.47°)
OKLaboklab(57.51% 0.1329 -0.092)
OKLCHoklch(57.51% 0.162 325.3)
XYZxyz(26.3246, 17.0803, 40.9320)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751AC #56AC51
analogous
#7951AC #A751AC #AC5184
triadic
#A751AC #ACA751 #51ACA7
tetradic
#A751AC #AC7951 #56AC51 #5184AC
square
#A751AC #AC7951 #56AC51 #5184AC
split-complementary
#A751AC #84AC51 #51AC79
monochromatic
#562A59 #7F3D82 #A751AC #BC7AC0 #D1A3D4

Accessibility & contrast

On white

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

On black

4.42
#A751AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A751AC#FFFFFF#000000##FFFFFF
##A751AC1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#AB5C77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751ac;
/* rgb */ color: rgb(167, 81, 172);
/* oklch */ color: oklch(57.5% 0.162 325.3);
Tailwind
colors: {
  custom: {
    50: '#c386c5',
    500: '#a751ac',
    950: '#000000',
  },
}
SCSS
$custom: #a751ac;
$custom-light: #c386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ac",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 296.703,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.16166,
    "h": 325.3
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#A751AC
secondary
#9AC198
accent
#CC5C62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751AC

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

Preview Lab → · Contrast checker → · Palette generator →

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