#A654C0#A654C0

#A654C0 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.9% C 0.176 H 317.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A654C0
RGBrgb(166, 84, 192)
HSLhsl(286, 46%, 54%)
HSVhsv(286, 56%, 75%)
CMYKcmyk(13.5%, 56.3%, 0%, 24.7%)
CIE-LABlab(49.80, 50.67, -42.76)
CIE-LCHlch(49.80, 66.30, 319.84°)
OKLaboklab(58.87% 0.1296 -0.1192)
OKLCHoklch(58.87% 0.176 317.4)
XYZxyz(28.4093, 18.2544, 51.8859)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654C0 #6EC054
analogous
#7054C0 #A654C0 #C054A4
triadic
#A654C0 #C0A654 #54C0A6
tetradic
#A654C0 #C07054 #6EC054 #54A4C0
square
#A654C0 #C07054 #6EC054 #54A4C0
split-complementary
#A654C0 #A4C054 #54C070
monochromatic
#5F2970 #853A9D #A654C0 #BD81D0 #D5ADE1

Accessibility & contrast

On white

4.52
#A654C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A654C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654C0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654C0#FFFFFF#000000##000000
##A654C01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#A56582
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a654c0;
/* rgb */ color: rgb(166, 84, 192);
/* oklch */ color: oklch(58.9% 0.176 317.4);
Tailwind
colors: {
  custom: {
    50: '#c388d3',
    500: '#a654c0',
    950: '#000000',
  },
}
SCSS
$custom: #a654c0;
$custom-light: #c388d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a654c0",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 285.556,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.17612,
    "h": 317.4
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#A654C0
secondary
#ACCFA1
accent
#D65272
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A654C0

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

Preview Lab → · Contrast checker → · Palette generator →

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