#A654BC#A654BC

#A654BC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.172 H 318.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A654BC
RGBrgb(166, 84, 188)
HSLhsl(287, 44%, 53%)
HSVhsv(287, 55%, 74%)
CMYKcmyk(11.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(49.59, 49.86, -40.78)
CIE-LCHlch(49.59, 64.41, 320.72°)
OKLaboklab(58.65% 0.1293 -0.1135)
OKLCHoklch(58.65% 0.172 318.7)
XYZxyz(27.9721, 18.0796, 49.5835)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654BC #6ABC54
analogous
#7254BC #A654BC #BC549E
triadic
#A654BC #BCA654 #54BCA6
tetradic
#A654BC #BC7254 #6ABC54 #549EBC
square
#A654BC #BC7254 #6ABC54 #549EBC
split-complementary
#A654BC #9EBC54 #54BC72
monochromatic
#5E2A6B #843B97 #A654BC #BD80CD #D4ACDE

Accessibility & contrast

On white

4.55
#A654BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A654BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654BC#FFFFFF#000000##000000
##A654BC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#A66480
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a654bc;
/* rgb */ color: rgb(166, 84, 188);
/* oklch */ color: oklch(58.6% 0.172 318.7);
Tailwind
colors: {
  custom: {
    50: '#c388d0',
    500: '#a654bc',
    950: '#000000',
  },
}
SCSS
$custom: #a654bc;
$custom-light: #c388d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a654bc",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 287.308,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.17205,
    "h": 318.7
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A654BC

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

Preview Lab → · Contrast checker → · Palette generator →

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