#A751BC#A751BC

#A751BC is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.177 H 319.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A751BC
RGBrgb(167, 81, 188)
HSLhsl(288, 44%, 53%)
HSVhsv(288, 57%, 74%)
CMYKcmyk(11.2%, 56.9%, 0%, 26.3%)
CIE-LABlab(49.17, 51.61, -41.44)
CIE-LCHlch(49.17, 66.19, 321.24°)
OKLaboklab(58.36% 0.1345 -0.1153)
OKLCHoklch(58.36% 0.177 319.4)
XYZxyz(27.9547, 17.7324, 49.5174)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BC #66BC51
analogous
#7151BC #A751BC #BC519C
triadic
#A751BC #BCA751 #51BCA7
tetradic
#A751BC #BC7151 #66BC51 #519CBC
square
#A751BC #BC7151 #66BC51 #519CBC
split-complementary
#A751BC #9CBC51 #51BC71
monochromatic
#5D296A #843A96 #A751BC #BD7DCD #D4A9DE

Accessibility & contrast

On white

4.62
#A751BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A751BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BC#FFFFFF#000000##FFFFFF
##A751BC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#A7617F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a751bc;
/* rgb */ color: rgb(167, 81, 188);
/* oklch */ color: oklch(58.4% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#c486d0',
    500: '#a751bc',
    950: '#000000',
  },
}
SCSS
$custom: #a751bc;
$custom-light: #c486d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a751bc",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 288.224,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.1772,
    "h": 319.4
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#A751BC
secondary
#A6CC9D
accent
#D4546D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A751BC

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

Preview Lab → · Contrast checker → · Palette generator →

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