#A751A5#A751A5

#A751A5 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.155 H 328.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A751A5
RGBrgb(167, 81, 165)
HSLhsl(301, 35%, 49%)
HSVhsv(301, 51%, 65%)
CMYKcmyk(0%, 51.5%, 1.2%, 34.5%)
CIE-LABlab(48.03, 47.20, -29.77)
CIE-LCHlch(48.03, 55.81, 327.76°)
OKLaboklab(57.16% 0.1319 -0.0816)
OKLCHoklch(57.16% 0.155 328.2)
XYZxyz(25.6699, 16.8184, 37.4842)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A5 #51A753
analogous
#7E51A7 #A751A5 #A7517A
triadic
#A751A5 #A5A751 #51A5A7
tetradic
#A751A5 #A77E51 #51A753 #517AA7
square
#A751A5 #A77E51 #51A753 #517AA7
split-complementary
#A751A5 #7AA751 #51A77E
monochromatic
#552954 #7E3D7C #A751A5 #BD78BC #D1A1D0

Accessibility & contrast

On white

4.81
#A751A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A751A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A5#FFFFFF#000000##FFFFFF
##A751A51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#AC5A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a5;
/* rgb */ color: rgb(167, 81, 165);
/* oklch */ color: oklch(57.2% 0.155 328.2);
Tailwind
colors: {
  custom: {
    50: '#c386c0',
    500: '#a751a5',
    950: '#000000',
  },
}
SCSS
$custom: #a751a5;
$custom-light: #c386c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a5",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 301.395,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.15514,
    "h": 328.2
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A751A5

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

Preview Lab → · Contrast checker → · Palette generator →

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