#A751AE#A751AE

#A751AE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.6% C 0.164 H 324.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A751AE
RGBrgb(167, 81, 174)
HSLhsl(295, 36%, 50%)
HSVhsv(295, 53%, 68%)
CMYKcmyk(4%, 53.4%, 0%, 31.8%)
CIE-LABlab(48.46, 48.88, -34.40)
CIE-LCHlch(48.46, 59.77, 324.87°)
OKLaboklab(57.61% 0.1332 -0.0949)
OKLCHoklch(57.61% 0.164 324.5)
XYZxyz(26.5181, 17.1577, 41.9512)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751AE #58AE51
analogous
#7951AE #A751AE #AE5186
triadic
#A751AE #AEA751 #51AEA7
tetradic
#A751AE #AE7951 #58AE51 #5186AE
square
#A751AE #AE7951 #58AE51 #5186AE
split-complementary
#A751AE #86AE51 #51AE79
monochromatic
#572A5A #7F3E84 #A751AE #BC7BC1 #D1A5D5

Accessibility & contrast

On white

4.74
#A751AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A751AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751AE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751AE#FFFFFF#000000##FFFFFF
##A751AE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CB1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#AA5D78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751ae;
/* rgb */ color: rgb(167, 81, 174);
/* oklch */ color: oklch(57.6% 0.164 324.5);
Tailwind
colors: {
  custom: {
    50: '#c386c6',
    500: '#a751ae',
    950: '#000000',
  },
}
SCSS
$custom: #a751ae;
$custom-light: #c386c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ae",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 295.484,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.16356,
    "h": 324.5
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#A751AE
secondary
#9CC299
accent
#CC5B64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751AE

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

Preview Lab → · Contrast checker → · Palette generator →

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