#A751B4#A751B4

#A751B4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.169 H 322.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A751B4
RGBrgb(167, 81, 180)
HSLhsl(292, 40%, 51%)
HSVhsv(292, 55%, 71%)
CMYKcmyk(7.2%, 55%, 0%, 29.4%)
CIE-LABlab(48.76, 50.03, -37.44)
CIE-LCHlch(48.76, 62.49, 323.19°)
OKLaboklab(57.93% 0.1339 -0.1037)
OKLCHoklch(57.93% 0.169 322.2)
XYZxyz(27.1161, 17.3969, 45.1008)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751B4 #5EB451
analogous
#7551B4 #A751B4 #B4518F
triadic
#A751B4 #B4A751 #51B4A7
tetradic
#A751B4 #B47551 #5EB451 #518FB4
square
#A751B4 #B47551 #5EB451 #518FB4
split-complementary
#A751B4 #8FB451 #51B475
monochromatic
#5A2A61 #813C8C #A751B4 #BD7CC6 #D2A7D9

Accessibility & contrast

On white

4.69
#A751B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A751B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751B4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751B4#FFFFFF#000000##FFFFFF
##A751B41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#A95F7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a751b4;
/* rgb */ color: rgb(167, 81, 180);
/* oklch */ color: oklch(57.9% 0.169 322.2);
Tailwind
colors: {
  custom: {
    50: '#c386cb',
    500: '#a751b4',
    950: '#000000',
  },
}
SCSS
$custom: #a751b4;
$custom-light: #c386cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a751b4",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 292.121,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.16933,
    "h": 322.2
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#A751B4
secondary
#A0C69B
accent
#D05868
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751B4

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

Preview Lab → · Contrast checker → · Palette generator →

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