#A751AF#A751AF

#A751AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.165 H 324.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A751AF
RGBrgb(167, 81, 175)
HSLhsl(295, 37%, 50%)
HSVhsv(295, 54%, 69%)
CMYKcmyk(4.6%, 53.7%, 0%, 31.4%)
CIE-LABlab(48.51, 49.07, -34.91)
CIE-LCHlch(48.51, 60.22, 324.57°)
OKLaboklab(57.66% 0.1333 -0.0964)
OKLCHoklch(57.66% 0.165 324.1)
XYZxyz(26.6159, 17.1968, 42.4665)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751AF #59AF51
analogous
#7851AF #A751AF #AF5188
triadic
#A751AF #AFA751 #51AFA7
tetradic
#A751AF #AF7851 #59AF51 #5188AF
square
#A751AF #AF7851 #59AF51 #5188AF
split-complementary
#A751AF #88AF51 #51AF78
monochromatic
#572A5C #7F3D85 #A751AF #BC7BC2 #D1A5D6

Accessibility & contrast

On white

4.73
#A751AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A751AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751AF#FFFFFF#000000##FFFFFF
##A751AF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#AA5D78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751af;
/* rgb */ color: rgb(167, 81, 175);
/* oklch */ color: oklch(57.7% 0.165 324.1);
Tailwind
colors: {
  custom: {
    50: '#c386c7',
    500: '#a751af',
    950: '#000000',
  },
}
SCSS
$custom: #a751af;
$custom-light: #c386c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a751af",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 294.894,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57662,
    "c": 0.16452,
    "h": 324.1
  },
  "luminance": 0.17195
}

Semantic roles & 50–950 ramp

primary
#A751AF
secondary
#9CC399
accent
#CD5B65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751AF

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

Preview Lab → · Contrast checker → · Palette generator →

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