#A751AA#A751AA

#A751AA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.160 H 326.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A751AA
RGBrgb(167, 81, 170)
HSLhsl(298, 35%, 49%)
HSVhsv(298, 52%, 67%)
CMYKcmyk(1.8%, 52.4%, 0%, 33.3%)
CIE-LABlab(48.27, 48.13, -32.35)
CIE-LCHlch(48.27, 57.99, 326.09°)
OKLaboklab(57.4% 0.1327 -0.089)
OKLCHoklch(57.4% 0.16 326.1)
XYZxyz(26.1339, 17.0040, 39.9280)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751AA #54AA51
analogous
#7B51AA #A751AA #AA5181
triadic
#A751AA #AAA751 #51AAA7
tetradic
#A751AA #AA7B51 #54AA51 #5181AA
square
#A751AA #AA7B51 #54AA51 #5181AA
split-complementary
#A751AA #81AA51 #51AA7B
monochromatic
#562A57 #7E3D81 #A751AA #BD79BF #D1A2D3

Accessibility & contrast

On white

4.77
#A751AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A751AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751AA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751AA#FFFFFF#000000##FFFFFF
##A751AA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#AB5B76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751aa;
/* rgb */ color: rgb(167, 81, 170);
/* oklch */ color: oklch(57.4% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#c386c3',
    500: '#a751aa',
    950: '#000000',
  },
}
SCSS
$custom: #a751aa;
$custom-light: #c386c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a751aa",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 297.978,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.15978,
    "h": 326.1
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#A751AA
secondary
#98C097
accent
#CB5C60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751AA

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

Preview Lab → · Contrast checker → · Palette generator →

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