#A654E8#A654E8

#A654E8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.218 H 306.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A654E8
RGBrgb(166, 84, 232)
HSLhsl(273, 76%, 62%)
HSVhsv(273, 64%, 91%)
CMYKcmyk(28.4%, 63.8%, 0%, 9%)
CIE-LABlab(52.15, 59.31, -61.83)
CIE-LCHlch(52.15, 85.68, 313.81°)
OKLaboklab(61.32% 0.1295 -0.175)
OKLCHoklch(61.32% 0.218 306.5)
XYZxyz(33.4586, 20.2742, 78.4790)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E8 #96E854
analogous
#5C54E8 #A654E8 #E854E0
triadic
#A654E8 #E8A654 #54E8A6
tetradic
#A654E8 #E85C54 #96E854 #54E0E8
square
#A654E8 #E85C54 #96E854 #54E0E8
split-complementary
#A654E8 #E0E854 #54E85C
monochromatic
#6917AB #8A1EE1 #A654E8 #C28AEF #DEC0F7

Accessibility & contrast

On white

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

On black

5.05
#A654E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E8#FFFFFF#000000##000000
##A654E81.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#9B7397
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a654e8;
/* rgb */ color: rgb(166, 84, 232);
/* oklch */ color: oklch(61.3% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#c589f0',
    500: '#a654e8',
    950: '#000000',
  },
}
SCSS
$custom: #a654e8;
$custom-light: #c589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e8",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 273.243,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.21771,
    "h": 306.5
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#A654E8
secondary
#C9E7B1
accent
#D80D68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A654E8

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

Preview Lab → · Contrast checker → · Palette generator →

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