#A754C4#A754C4

#A754C4 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.181 H 316.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A754C4
RGBrgb(167, 84, 196)
HSLhsl(284, 49%, 55%)
HSVhsv(284, 57%, 77%)
CMYKcmyk(14.8%, 57.1%, 0%, 23.1%)
CIE-LABlab(50.15, 51.75, -44.52)
CIE-LCHlch(50.15, 68.27, 319.30°)
OKLaboklab(59.22% 0.1311 -0.1243)
OKLCHoklch(59.22% 0.181 316.5)
XYZxyz(29.0690, 18.5427, 54.2617)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754C4 #71C454
analogous
#6F54C4 #A754C4 #C454A9
triadic
#A754C4 #C4A754 #54C4A7
tetradic
#A754C4 #C46F54 #71C454 #54A9C4
square
#A754C4 #C46F54 #71C454 #54A9C4
split-complementary
#A754C4 #A9C454 #54C46F
monochromatic
#612875 #8738A3 #A754C4 #BE82D4 #D6AFE3

Accessibility & contrast

On white

4.46
#A754C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A754C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754C4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754C4#FFFFFF#000000##000000
##A754C41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3872C8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#A66684
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a754c4;
/* rgb */ color: rgb(167, 84, 196);
/* oklch */ color: oklch(59.2% 0.181 316.5);
Tailwind
colors: {
  custom: {
    50: '#c488d6',
    500: '#a754c4',
    950: '#000000',
  },
}
SCSS
$custom: #a754c4;
$custom-light: #c488d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a754c4",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 284.464,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.18067,
    "h": 316.5
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#A754C4
secondary
#AFD1A2
accent
#D85073
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A754C4

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

Preview Lab → · Contrast checker → · Palette generator →

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