#A751B6#A751B6

#A751B6 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.171 H 321.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A751B6
RGBrgb(167, 81, 182)
HSLhsl(291, 41%, 52%)
HSVhsv(291, 55%, 71%)
CMYKcmyk(8.2%, 55.5%, 0%, 28.6%)
CIE-LABlab(48.86, 50.42, -38.44)
CIE-LCHlch(48.86, 63.41, 322.68°)
OKLaboklab(58.03% 0.134 -0.1066)
OKLCHoklch(58.03% 0.171 321.5)
XYZxyz(27.3213, 17.4790, 46.1815)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751B6 #60B651
analogous
#7551B6 #A751B6 #B65193
triadic
#A751B6 #B6A751 #51B6A7
tetradic
#A751B6 #B67551 #60B651 #5193B6
square
#A751B6 #B67551 #60B651 #5193B6
split-complementary
#A751B6 #93B651 #51B675
monochromatic
#5B2A63 #823C8E #A751B6 #BD7CC8 #D3A7DA

Accessibility & contrast

On white

4.67
#A751B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A751B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751B6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751B6#FFFFFF#000000##FFFFFF
##A751B61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EB9
Deuteranopia (green-blind)
#5C77B3
Tritanopia (blue-blind)
#A95F7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a751b6;
/* rgb */ color: rgb(167, 81, 182);
/* oklch */ color: oklch(58.0% 0.171 321.5);
Tailwind
colors: {
  custom: {
    50: '#c386cc',
    500: '#a751b6',
    950: '#000000',
  },
}
SCSS
$custom: #a751b6;
$custom-light: #c386cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a751b6",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 291.089,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.17129,
    "h": 321.5
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#A751B6
secondary
#A2C89B
accent
#D15769
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751B6

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

Preview Lab → · Contrast checker → · Palette generator →

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