#A751B3#A751B3

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

Color values

HEX#A751B3
RGBrgb(167, 81, 179)
HSLhsl(293, 39%, 51%)
HSVhsv(293, 55%, 70%)
CMYKcmyk(6.7%, 54.7%, 0%, 29.8%)
CIE-LABlab(48.71, 49.84, -36.93)
CIE-LCHlch(48.71, 62.03, 323.46°)
OKLaboklab(57.87% 0.1338 -0.1023)
OKLCHoklch(57.87% 0.168 322.6)
XYZxyz(27.0146, 17.3563, 44.5662)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751B3 #5DB351
analogous
#7651B3 #A751B3 #B3518E
triadic
#A751B3 #B3A751 #51B3A7
tetradic
#A751B3 #B37651 #5DB351 #518EB3
square
#A751B3 #B37651 #5DB351 #518EB3
split-complementary
#A751B3 #8EB351 #51B376
monochromatic
#592A60 #813C8A #A751B3 #BD7CC6 #D2A6D8

Accessibility & contrast

On white

4.70
#A751B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A751B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751B3#FFFFFF#000000##FFFFFF
##A751B31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#A95E7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a751b3;
/* rgb */ color: rgb(167, 81, 179);
/* oklch */ color: oklch(57.9% 0.168 322.6);
Tailwind
colors: {
  custom: {
    50: '#c386ca',
    500: '#a751b3',
    950: '#000000',
  },
}
SCSS
$custom: #a751b3;
$custom-light: #c386ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a751b3",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 292.653,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.16836,
    "h": 322.6
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#A751B3
secondary
#A0C69A
accent
#CF5967
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751B3

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

Preview Lab → · Contrast checker → · Palette generator →

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