#A751BF#A751BF

#A751BF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.180 H 318.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A751BF
RGBrgb(167, 81, 191)
HSLhsl(287, 46%, 53%)
HSVhsv(287, 58%, 75%)
CMYKcmyk(12.6%, 57.6%, 0%, 25.1%)
CIE-LABlab(49.33, 52.21, -42.93)
CIE-LCHlch(49.33, 67.59, 320.57°)
OKLaboklab(58.53% 0.1347 -0.1197)
OKLCHoklch(58.53% 0.18 318.4)
XYZxyz(28.2815, 17.8631, 51.2383)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BF #69BF51
analogous
#7051BF #A751BF #BF51A0
triadic
#A751BF #BFA751 #51BFA7
tetradic
#A751BF #BF7051 #69BF51 #51A0BF
square
#A751BF #BF7051 #69BF51 #51A0BF
split-complementary
#A751BF #A0BF51 #51BF70
monochromatic
#5E286D #85399A #A751BF #BE7ECF #D4AAE0

Accessibility & contrast

On white

4.59
#A751BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A751BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BF#FFFFFF#000000##FFFFFF
##A751BF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3770C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#A76280
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751bf;
/* rgb */ color: rgb(167, 81, 191);
/* oklch */ color: oklch(58.5% 0.180 318.4);
Tailwind
colors: {
  custom: {
    50: '#c486d3',
    500: '#a751bf',
    950: '#000000',
  },
}
SCSS
$custom: #a751bf;
$custom-light: #c486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a751bf",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 286.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.18018,
    "h": 318.4
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#A751BF
secondary
#A9CE9E
accent
#D6526F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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