#A751BA#A751BA

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

Color values

HEX#A751BA
RGBrgb(167, 81, 186)
HSLhsl(289, 43%, 52%)
HSVhsv(289, 56%, 73%)
CMYKcmyk(10.2%, 56.5%, 0%, 27.1%)
CIE-LABlab(49.06, 51.21, -40.45)
CIE-LCHlch(49.06, 65.26, 321.70°)
OKLaboklab(58.25% 0.1344 -0.1124)
OKLCHoklch(58.25% 0.175 320.1)
XYZxyz(27.7406, 17.6467, 48.3898)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751BA #64BA51
analogous
#7351BA #A751BA #BA5198
triadic
#A751BA #BAA751 #51BAA7
tetradic
#A751BA #BA7351 #64BA51 #5198BA
square
#A751BA #BA7351 #64BA51 #5198BA
split-complementary
#A751BA #98BA51 #51BA73
monochromatic
#5C2968 #833A93 #A751BA #BD7DCB #D3A9DD

Accessibility & contrast

On white

4.64
#A751BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A751BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A751BA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751BA#FFFFFF#000000##FFFFFF
##A751BA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a751ba;
/* rgb */ color: rgb(167, 81, 186);
/* oklch */ color: oklch(58.3% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#c486cf',
    500: '#a751ba',
    950: '#000000',
  },
}
SCSS
$custom: #a751ba;
$custom-light: #c486cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ba",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 289.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.17522,
    "h": 320.1
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#A751BA
secondary
#A5CA9D
accent
#D3556C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A751BA

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

Preview Lab → · Contrast checker → · Palette generator →

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