#A754AA#A754AA

#A754AA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.8% C 0.155 H 326.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A754AA
RGBrgb(167, 84, 170)
HSLhsl(298, 34%, 50%)
HSVhsv(298, 51%, 67%)
CMYKcmyk(1.8%, 50.6%, 0%, 33.3%)
CIE-LABlab(48.83, 46.62, -31.46)
CIE-LCHlch(48.83, 56.24, 325.98°)
OKLaboklab(57.83% 0.1284 -0.0865)
OKLCHoklch(57.83% 0.155 326)
XYZxyz(26.3618, 17.4598, 40.0039)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754AA #57AA54
analogous
#7C54AA #A754AA #AA5482
triadic
#A754AA #AAA754 #54AAA7
tetradic
#A754AA #AA7C54 #57AA54 #5482AA
square
#A754AA #AA7C54 #57AA54 #5482AA
split-complementary
#A754AA #82AA54 #54AA7C
monochromatic
#572C58 #7F4081 #A754AA #BC7DBF #D1A6D3

Accessibility & contrast

On white

4.68
#A754AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A754AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A754AA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754AA#FFFFFF#000000##FFFFFF
##A754AA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#AB5E77
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a754aa;
/* rgb */ color: rgb(167, 84, 170);
/* oklch */ color: oklch(57.8% 0.155 326.0);
Tailwind
colors: {
  custom: {
    50: '#c387c3',
    500: '#a754aa',
    950: '#000000',
  },
}
SCSS
$custom: #a754aa;
$custom-light: #c387c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a754aa",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 297.907,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.15486,
    "h": 326
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#A754AA
secondary
#9BC099
accent
#CA5E62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #A754AA

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

Preview Lab → · Contrast checker → · Palette generator →

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