#A751BB#A751BB

#A751BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.176 H 319.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A751BB
RGBrgb(167, 81, 187)
HSLhsl(289, 44%, 53%)
HSVhsv(289, 57%, 73%)
CMYKcmyk(10.7%, 56.7%, 0%, 26.7%)
CIE-LABlab(49.12, 51.41, -40.94)
CIE-LCHlch(49.12, 65.72, 321.47°)
OKLaboklab(58.31% 0.1344 -0.1139)
OKLCHoklch(58.31% 0.176 319.7)
XYZxyz(27.8473, 17.6894, 48.9516)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BB #65BB51
analogous
#7251BB #A751BB #BB519A
triadic
#A751BB #BBA751 #51BBA7
tetradic
#A751BB #BB7251 #65BB51 #519ABB
square
#A751BB #BB7251 #65BB51 #519ABB
split-complementary
#A751BB #9ABB51 #51BB72
monochromatic
#5D2969 #843A95 #A751BB #BD7DCC #D4A9DD

Accessibility & contrast

On white

4.63
#A751BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A751BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BB#FFFFFF#000000##FFFFFF
##A751BB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A8617E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751bb;
/* rgb */ color: rgb(167, 81, 187);
/* oklch */ color: oklch(58.3% 0.176 319.7);
Tailwind
colors: {
  custom: {
    50: '#c486d0',
    500: '#a751bb',
    950: '#000000',
  },
}
SCSS
$custom: #a751bb;
$custom-light: #c486d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751bb",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 288.679,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.1762,
    "h": 319.7
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#A751BB
secondary
#A6CB9D
accent
#D4546C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A751BB

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

Preview Lab → · Contrast checker → · Palette generator →

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