#A751A0#A751A0

#A751A0 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.9% C 0.151 H 330.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A751A0
RGBrgb(167, 81, 160)
HSLhsl(305, 35%, 49%)
HSVhsv(305, 51%, 65%)
CMYKcmyk(0%, 51.5%, 4.2%, 34.5%)
CIE-LABlab(47.80, 46.30, -27.17)
CIE-LCHlch(47.80, 53.68, 329.59°)
OKLaboklab(56.91% 0.1311 -0.0742)
OKLCHoklch(56.91% 0.151 330.5)
XYZxyz(25.2237, 16.6400, 35.1341)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751A0 #51A758
analogous
#8351A7 #A751A0 #A75175
triadic
#A751A0 #A0A751 #51A0A7
tetradic
#A751A0 #A78351 #51A758 #5175A7
square
#A751A0 #A78351 #51A758 #5175A7
split-complementary
#A751A0 #75A751 #51A783
monochromatic
#552951 #7E3D79 #A751A0 #BD78B8 #D1A1CD

Accessibility & contrast

On white

4.85
#A751A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A751A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751A0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751A0#FFFFFF#000000##FFFFFF
##A751A01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6AA3
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#AD5871
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a751a0;
/* rgb */ color: rgb(167, 81, 160);
/* oklch */ color: oklch(56.9% 0.151 330.5);
Tailwind
colors: {
  custom: {
    50: '#c385bc',
    500: '#a751a0',
    950: '#000000',
  },
}
SCSS
$custom: #a751a0;
$custom-light: #c385bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a751a0",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 304.884,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.15061,
    "h": 330.5
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#A751A0
secondary
#95BF99
accent
#CB665D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A751A0

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

Preview Lab → · Contrast checker → · Palette generator →

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