#A751A8#A751A8

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

Color values

HEX#A751A8
RGBrgb(167, 81, 168)
HSLhsl(299, 35%, 49%)
HSVhsv(299, 52%, 66%)
CMYKcmyk(0.6%, 51.8%, 0%, 34.1%)
CIE-LABlab(48.17, 47.75, -31.32)
CIE-LCHlch(48.17, 57.11, 326.74°)
OKLaboklab(57.3% 0.1324 -0.0861)
OKLCHoklch(57.3% 0.158 327)
XYZxyz(25.9462, 16.9289, 38.9392)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A8 #52A851
analogous
#7C51A8 #A751A8 #A8517E
triadic
#A751A8 #A8A751 #51A8A7
tetradic
#A751A8 #A87C51 #52A851 #517EA8
square
#A751A8 #A87C51 #52A851 #517EA8
split-complementary
#A751A8 #7EA851 #51A87C
monochromatic
#552955 #7E3D7F #A751A8 #BD78BE #D1A1D2

Accessibility & contrast

On white

4.79
#A751A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A751A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A8#FFFFFF#000000##FFFFFF
##A751A81.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#AB5B75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a8;
/* rgb */ color: rgb(167, 81, 168);
/* oklch */ color: oklch(57.3% 0.158 327.0);
Tailwind
colors: {
  custom: {
    50: '#c386c2',
    500: '#a751a8',
    950: '#000000',
  },
}
SCSS
$custom: #a751a8;
$custom-light: #c386c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a8",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 299.31,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.1579,
    "h": 327
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#A751A8
secondary
#96BF96
accent
#CB5D5E
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A8

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

Preview Lab → · Contrast checker → · Palette generator →

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