#A751A2#A751A2

#A751A2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.0% C 0.152 H 329.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A751A2
RGBrgb(167, 81, 162)
HSLhsl(303, 35%, 49%)
HSVhsv(303, 51%, 65%)
CMYKcmyk(0%, 51.5%, 3%, 34.5%)
CIE-LABlab(47.89, 46.66, -28.22)
CIE-LCHlch(47.89, 54.53, 328.84°)
OKLaboklab(57.01% 0.1314 -0.0772)
OKLCHoklch(57.01% 0.152 329.6)
XYZxyz(25.4001, 16.7105, 36.0630)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A2 #51A756
analogous
#8151A7 #A751A2 #A75177
triadic
#A751A2 #A2A751 #51A2A7
tetradic
#A751A2 #A78151 #51A756 #5177A7
square
#A751A2 #A78151 #51A756 #5177A7
split-complementary
#A751A2 #77A751 #51A781
monochromatic
#552952 #7E3D7A #A751A2 #BD78B9 #D1A1CF

Accessibility & contrast

On white

4.84
#A751A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A751A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A2#FFFFFF#000000##FFFFFF
##A751A21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#AC5972
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a751a2;
/* rgb */ color: rgb(167, 81, 162);
/* oklch */ color: oklch(57.0% 0.152 329.6);
Tailwind
colors: {
  custom: {
    50: '#c385be',
    500: '#a751a2',
    950: '#000000',
  },
}
SCSS
$custom: #a751a2;
$custom-light: #c385be;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a2",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 303.488,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.1524,
    "h": 329.6
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#A751A2
secondary
#95BF98
accent
#CB635D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A2

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

Preview Lab → · Contrast checker → · Palette generator →

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