#A654CA#A654CA

#A654CA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.186 H 314.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A654CA
RGBrgb(166, 84, 202)
HSLhsl(282, 53%, 56%)
HSVhsv(282, 58%, 79%)
CMYKcmyk(17.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(50.35, 52.75, -47.66)
CIE-LCHlch(50.35, 71.09, 317.91°)
OKLaboklab(59.45% 0.1301 -0.1335)
OKLCHoklch(59.45% 0.186 314.3)
XYZxyz(29.5551, 18.7128, 57.9207)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654CA #78CA54
analogous
#6B54CA #A654CA #CA54B3
triadic
#A654CA #CAA654 #54CAA6
tetradic
#A654CA #CA6B54 #78CA54 #54B3CA
square
#A654CA #CA6B54 #78CA54 #54B3CA
split-complementary
#A654CA #B3CA54 #54CA6B
monochromatic
#63277D #8735AC #A654CA #BE83D8 #D7B1E7

Accessibility & contrast

On white

4.43
#A654CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A654CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654CA#FFFFFF#000000##000000
##A654CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#A36887
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a654ca;
/* rgb */ color: rgb(166, 84, 202);
/* oklch */ color: oklch(59.4% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#c388db',
    500: '#a654ca',
    950: '#000000',
  },
}
SCSS
$custom: #a654ca;
$custom-light: #c388db;
$custom-dark: #000000;
JSON
{
  "hex": "#a654ca",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 281.695,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.18642,
    "h": 314.3
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#A654CA
secondary
#B3D5A5
accent
#DC4C78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654CA

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

Preview Lab → · Contrast checker → · Palette generator →

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