#A751B7#A751B7

#A751B7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.172 H 321.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A751B7
RGBrgb(167, 81, 183)
HSLhsl(291, 41%, 52%)
HSVhsv(291, 56%, 72%)
CMYKcmyk(8.7%, 55.7%, 0%, 28.2%)
CIE-LABlab(48.91, 50.62, -38.95)
CIE-LCHlch(48.91, 63.87, 322.43°)
OKLaboklab(58.09% 0.1341 -0.1081)
OKLCHoklch(58.09% 0.172 321.1)
XYZxyz(27.4250, 17.5205, 46.7278)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751B7 #61B751
analogous
#7451B7 #A751B7 #B75194
triadic
#A751B7 #B7A751 #51B7A7
tetradic
#A751B7 #B77451 #61B751 #5194B7
square
#A751B7 #B77451 #61B751 #5194B7
split-complementary
#A751B7 #94B751 #51B774
monochromatic
#5B2964 #823B8F #A751B7 #BD7CC9 #D3A8DB

Accessibility & contrast

On white

4.66
#A751B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A751B7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751B7#FFFFFF#000000##FFFFFF
##A751B71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#A9607C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a751b7;
/* rgb */ color: rgb(167, 81, 183);
/* oklch */ color: oklch(58.1% 0.172 321.1);
Tailwind
colors: {
  custom: {
    50: '#c486cd',
    500: '#a751b7',
    950: '#000000',
  },
}
SCSS
$custom: #a751b7;
$custom-light: #c486cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a751b7",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 290.588,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58088,
    "c": 0.17226,
    "h": 321.1
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#A751B7
secondary
#A3C89C
accent
#D1576A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751B7

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

Preview Lab → · Contrast checker → · Palette generator →

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