#A654E3#A654E3

#A654E3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.212 H 307.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A654E3
RGBrgb(166, 84, 227)
HSLhsl(274, 72%, 61%)
HSVhsv(274, 63%, 89%)
CMYKcmyk(26.9%, 63%, 0%, 11%)
CIE-LABlab(51.83, 58.19, -59.52)
CIE-LCHlch(51.83, 83.24, 314.35°)
OKLaboklab(61% 0.1298 -0.1682)
OKLCHoklch(61% 0.212 307.7)
XYZxyz(32.7585, 19.9941, 74.7917)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E3 #91E354
analogous
#5E54E3 #A654E3 #E354D8
triadic
#A654E3 #E3A654 #54E3A6
tetradic
#A654E3 #E35E54 #91E354 #54D8E3
square
#A654E3 #E35E54 #91E354 #54D8E3
split-complementary
#A654E3 #D8E354 #54E35E
monochromatic
#681BA2 #8A23D7 #A654E3 #C189EC #DDBDF4

Accessibility & contrast

On white

4.20
#A654E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A654E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E3#FFFFFF#000000##000000
##A654E31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#9C7194
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a654e3;
/* rgb */ color: rgb(166, 84, 227);
/* oklch */ color: oklch(61.0% 0.212 307.7);
Tailwind
colors: {
  custom: {
    50: '#c489ec',
    500: '#a654e3',
    950: '#000000',
  },
}
SCSS
$custom: #a654e3;
$custom-light: #c489ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e3",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 274.406,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60996,
    "c": 0.21248,
    "h": 307.7
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#A654E3
secondary
#C5E4AE
accent
#D41264
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654E3

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

Preview Lab → · Contrast checker → · Palette generator →

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