#A751B1#A751B1

#A751B1 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.166 H 323.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A751B1
RGBrgb(167, 81, 177)
HSLhsl(294, 38%, 51%)
HSVhsv(294, 54%, 69%)
CMYKcmyk(5.6%, 54.2%, 0%, 30.6%)
CIE-LABlab(48.61, 49.45, -35.92)
CIE-LCHlch(48.61, 61.12, 324.01°)
OKLaboklab(57.77% 0.1335 -0.0993)
OKLCHoklch(57.77% 0.166 323.4)
XYZxyz(26.8138, 17.2760, 43.5087)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751B1 #5BB151
analogous
#7751B1 #A751B1 #B1518B
triadic
#A751B1 #B1A751 #51B1A7
tetradic
#A751B1 #B17751 #5BB151 #518BB1
square
#A751B1 #B17751 #5BB151 #518BB1
split-complementary
#A751B1 #8BB151 #51B177
monochromatic
#582A5E #803D88 #A751B1 #BC7BC4 #D2A6D7

Accessibility & contrast

On white

4.71
#A751B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A751B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A751B1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751B1#FFFFFF#000000##FFFFFF
##A751B11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#AA5E79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a751b1;
/* rgb */ color: rgb(167, 81, 177);
/* oklch */ color: oklch(57.8% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#c386c8',
    500: '#a751b1',
    950: '#000000',
  },
}
SCSS
$custom: #a751b1;
$custom-light: #c386c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a751b1",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 293.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.16644,
    "h": 323.4
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#A751B1
secondary
#9EC49A
accent
#CE5A66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A751B1

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

Preview Lab → · Contrast checker → · Palette generator →

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