#A654E9#A654E9

#A654E9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.219 H 306.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A654E9
RGBrgb(166, 84, 233)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 64%, 91%)
CMYKcmyk(28.8%, 63.9%, 0%, 8.6%)
CIE-LABlab(52.21, 59.54, -62.29)
CIE-LCHlch(52.21, 86.16, 313.71°)
OKLaboklab(61.39% 0.1294 -0.1764)
OKLCHoklch(61.39% 0.219 306.3)
XYZxyz(33.6010, 20.3311, 79.2292)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E9 #97E954
analogous
#5C54E9 #A654E9 #E954E2
triadic
#A654E9 #E9A654 #54E9A6
tetradic
#A654E9 #E95C54 #97E954 #54E2E9
square
#A654E9 #E95C54 #97E954 #54E2E9
split-complementary
#A654E9 #E2E954 #54E95C
monochromatic
#6916AC #8A1EE2 #A654E9 #C28AF0 #DEC0F7

Accessibility & contrast

On white

4.15
#A654E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A654E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E9#FFFFFF#000000##000000
##A654E91.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#9B7397
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a654e9;
/* rgb */ color: rgb(166, 84, 233);
/* oklch */ color: oklch(61.4% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#c589f1',
    500: '#a654e9',
    950: '#000000',
  },
}
SCSS
$custom: #a654e9;
$custom-light: #c589f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e9",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 273.02,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.21876,
    "h": 306.3
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#A654E9
secondary
#CAE8B1
accent
#D90C68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A654E9

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

Preview Lab → · Contrast checker → · Palette generator →

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