#A654D9#A654D9

#A654D9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.202 H 310.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A654D9
RGBrgb(166, 84, 217)
HSLhsl(277, 64%, 59%)
HSVhsv(277, 61%, 85%)
CMYKcmyk(23.5%, 61.3%, 0%, 14.9%)
CIE-LABlab(51.22, 55.98, -54.84)
CIE-LCHlch(51.22, 78.36, 315.59°)
OKLaboklab(60.36% 0.1302 -0.1545)
OKLCHoklch(60.36% 0.202 310.1)
XYZxyz(31.4182, 19.4580, 67.7329)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654D9 #87D954
analogous
#6454D9 #A654D9 #D954CA
triadic
#A654D9 #D9A654 #54D9A6
tetradic
#A654D9 #D96454 #87D954 #54CAD9
square
#A654D9 #D96454 #87D954 #54CAD9
split-complementary
#A654D9 #CAD954 #54D964
monochromatic
#672092 #8A2CC4 #A654D9 #C086E4 #DAB8EF

Accessibility & contrast

On white

4.29
#A654D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A654D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654D9#FFFFFF#000000##000000
##A654D91.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1876DD
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#9F6E8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a654d9;
/* rgb */ color: rgb(166, 84, 217);
/* oklch */ color: oklch(60.4% 0.202 310.1);
Tailwind
colors: {
  custom: {
    50: '#c488e5',
    500: '#a654d9',
    950: '#000000',
  },
}
SCSS
$custom: #a654d9;
$custom-light: #c488e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a654d9",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 276.992,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.20203,
    "h": 310.1
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#A654D9
secondary
#BEDFAA
accent
#E74181
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654D9

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

Preview Lab → · Contrast checker → · Palette generator →

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