#A754BC#A754BC

#A754BC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.173 H 319.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A754BC
RGBrgb(167, 84, 188)
HSLhsl(288, 44%, 53%)
HSVhsv(288, 55%, 74%)
CMYKcmyk(11.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(49.72, 50.12, -40.56)
CIE-LCHlch(49.72, 64.48, 321.02°)
OKLaboklab(58.77% 0.1306 -0.1128)
OKLCHoklch(58.77% 0.173 319.2)
XYZxyz(28.1826, 18.1881, 49.5933)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754BC #69BC54
analogous
#7354BC #A754BC #BC549D
triadic
#A754BC #BCA754 #54BCA7
tetradic
#A754BC #BC7354 #69BC54 #549DBC
square
#A754BC #BC7354 #69BC54 #549DBC
split-complementary
#A754BC #9DBC54 #54BC73
monochromatic
#5E2A6B #853B97 #A754BC #BE80CD #D4ACDE

Accessibility & contrast

On white

4.53
#A754BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A754BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754BC#FFFFFF#000000##000000
##A754BC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#A76480
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a754bc;
/* rgb */ color: rgb(167, 84, 188);
/* oklch */ color: oklch(58.8% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#c388d0',
    500: '#a754bc',
    950: '#000000',
  },
}
SCSS
$custom: #a754bc;
$custom-light: #c388d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a754bc",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 287.885,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.17254,
    "h": 319.2
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#A754BC
secondary
#A9CCA0
accent
#D3546E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A754BC

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

Preview Lab → · Contrast checker → · Palette generator →

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