#A751BD#A751BD

#A751BD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.178 H 319.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A751BD
RGBrgb(167, 81, 189)
HSLhsl(288, 45%, 53%)
HSVhsv(288, 57%, 74%)
CMYKcmyk(11.6%, 57.1%, 0%, 25.9%)
CIE-LABlab(49.22, 51.81, -41.94)
CIE-LCHlch(49.22, 66.65, 321.01°)
OKLaboklab(58.42% 0.1346 -0.1168)
OKLCHoklch(58.42% 0.178 319.1)
XYZxyz(28.0629, 17.7756, 50.0871)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BD #67BD51
analogous
#7151BD #A751BD #BD519D
triadic
#A751BD #BDA751 #51BDA7
tetradic
#A751BD #BD7151 #67BD51 #519DBD
square
#A751BD #BD7151 #67BD51 #519DBD
split-complementary
#A751BD #9DBD51 #51BD71
monochromatic
#5D296B #843997 #A751BD #BD7DCE #D4AADF

Accessibility & contrast

On white

4.61
#A751BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A751BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BD#FFFFFF#000000##FFFFFF
##A751BD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#A7627F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751bd;
/* rgb */ color: rgb(167, 81, 189);
/* oklch */ color: oklch(58.4% 0.178 319.1);
Tailwind
colors: {
  custom: {
    50: '#c486d1',
    500: '#a751bd',
    950: '#000000',
  },
}
SCSS
$custom: #a751bd;
$custom-light: #c486d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a751bd",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 287.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.17819,
    "h": 319.1
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#A751BD
secondary
#A7CC9E
accent
#D5536E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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