#A654E1#A654E1

#A654E1 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.210 H 308.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A654E1
RGBrgb(166, 84, 225)
HSLhsl(275, 70%, 61%)
HSVhsv(275, 63%, 88%)
CMYKcmyk(26.2%, 62.7%, 0%, 11.8%)
CIE-LABlab(51.71, 57.74, -58.59)
CIE-LCHlch(51.71, 82.26, 314.58°)
OKLaboklab(60.87% 0.1299 -0.1655)
OKLCHoklch(60.87% 0.21 308.1)
XYZxyz(32.4840, 19.8844, 73.3464)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E1 #8FE154
analogous
#6054E1 #A654E1 #E154D5
triadic
#A654E1 #E1A654 #54E1A6
tetradic
#A654E1 #E16054 #8FE154 #54D5E1
square
#A654E1 #E16054 #8FE154 #54D5E1
split-complementary
#A654E1 #D5E154 #54E160
monochromatic
#681C9F #8A25D3 #A654E1 #C188EA #DCBCF3

Accessibility & contrast

On white

4.22
#A654E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A654E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E1#FFFFFF#000000##000000
##A654E11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#9D7193
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a654e1;
/* rgb */ color: rgb(166, 84, 225);
/* oklch */ color: oklch(60.9% 0.210 308.1);
Tailwind
colors: {
  custom: {
    50: '#c489eb',
    500: '#a654e1',
    950: '#000000',
  },
}
SCSS
$custom: #a654e1;
$custom-light: #c489eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e1",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 274.894,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.21039,
    "h": 308.1
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#A654E1
secondary
#C4E3AE
accent
#D21363
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654E1

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

Preview Lab → · Contrast checker → · Palette generator →

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