#A751A7#A751A7

#A751A7 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.157 H 327.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A751A7
RGBrgb(167, 81, 167)
HSLhsl(300, 35%, 49%)
HSVhsv(300, 51%, 65%)
CMYKcmyk(0%, 51.5%, 0%, 34.5%)
CIE-LABlab(48.12, 47.57, -30.81)
CIE-LCHlch(48.12, 56.67, 327.07°)
OKLaboklab(57.25% 0.1322 -0.0846)
OKLCHoklch(57.25% 0.157 327.4)
XYZxyz(25.8534, 16.8918, 38.4504)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A7 #51A751
analogous
#7C51A7 #A751A7 #A7517C
triadic
#A751A7 #A7A751 #51A7A7
tetradic
#A751A7 #A77C51 #51A751 #517CA7
square
#A751A7 #A77C51 #51A751 #517CA7
split-complementary
#A751A7 #7CA751 #51A77C
monochromatic
#552955 #7E3D7E #A751A7 #BD78BD #D1A1D1

Accessibility & contrast

On white

4.80
#A751A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A751A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A7#FFFFFF#000000##FFFFFF
##A751A71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#AB5A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a7;
/* rgb */ color: rgb(167, 81, 167);
/* oklch */ color: oklch(57.3% 0.157 327.4);
Tailwind
colors: {
  custom: {
    50: '#c386c1',
    500: '#a751a7',
    950: '#000000',
  },
}
SCSS
$custom: #a751a7;
$custom-light: #c386c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a7",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.15697,
    "h": 327.4
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#A751A7
secondary
#95BF95
accent
#CB5D5D
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A7

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

Preview Lab → · Contrast checker → · Palette generator →

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