#A654CB#A654CB

#A654CB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.187 H 314.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A654CB
RGBrgb(166, 84, 203)
HSLhsl(281, 53%, 56%)
HSVhsv(281, 59%, 80%)
CMYKcmyk(18.2%, 58.6%, 0%, 20.4%)
CIE-LABlab(50.41, 52.96, -48.14)
CIE-LCHlch(50.41, 71.57, 317.73°)
OKLaboklab(59.5% 0.1301 -0.1349)
OKLCHoklch(59.5% 0.187 314)
XYZxyz(29.6739, 18.7603, 58.5463)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654CB #79CB54
analogous
#6B54CB #A654CB #CB54B4
triadic
#A654CB #CBA654 #54CBA6
tetradic
#A654CB #CB6B54 #79CB54 #54B4CB
square
#A654CB #CB6B54 #79CB54 #54B4CB
split-complementary
#A654CB #B4CB54 #54CB6B
monochromatic
#63267E #8835AD #A654CB #BE83D9 #D7B2E8

Accessibility & contrast

On white

4.42
#A654CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A654CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654CB#FFFFFF#000000##000000
##A654CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#A36988
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a654cb;
/* rgb */ color: rgb(166, 84, 203);
/* oklch */ color: oklch(59.5% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#c388db',
    500: '#a654cb',
    950: '#000000',
  },
}
SCSS
$custom: #a654cb;
$custom-light: #c388db;
$custom-dark: #000000;
JSON
{
  "hex": "#a654cb",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 281.345,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.18745,
    "h": 314
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#A654CB
secondary
#B4D6A5
accent
#DD4B78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654CB

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

Preview Lab → · Contrast checker → · Palette generator →

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