#A654E5#A654E5

#A654E5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.215 H 307.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A654E5
RGBrgb(166, 84, 229)
HSLhsl(274, 74%, 61%)
HSVhsv(274, 63%, 90%)
CMYKcmyk(27.5%, 63.3%, 0%, 10.2%)
CIE-LABlab(51.96, 58.64, -60.44)
CIE-LCHlch(51.96, 84.21, 314.13°)
OKLaboklab(61.13% 0.1297 -0.1709)
OKLCHoklch(61.13% 0.215 307.2)
XYZxyz(33.0361, 20.1052, 76.2539)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E5 #93E554
analogous
#5E54E5 #A654E5 #E554DC
triadic
#A654E5 #E5A654 #54E5A6
tetradic
#A654E5 #E55E54 #93E554 #54DCE5
square
#A654E5 #E55E54 #93E554 #54DCE5
split-complementary
#A654E5 #DCE554 #54E55E
monochromatic
#6819A5 #8A21DB #A654E5 #C289ED #DDBEF5

Accessibility & contrast

On white

4.18
#A654E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A654E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E5#FFFFFF#000000##000000
##A654E51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#9C7295
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a654e5;
/* rgb */ color: rgb(166, 84, 229);
/* oklch */ color: oklch(61.1% 0.215 307.2);
Tailwind
colors: {
  custom: {
    50: '#c589ee',
    500: '#a654e5',
    950: '#000000',
  },
}
SCSS
$custom: #a654e5;
$custom-light: #c589ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e5",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 273.931,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.21458,
    "h": 307.2
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#A654E5
secondary
#C7E6AF
accent
#D61066
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654E5

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

Preview Lab → · Contrast checker → · Palette generator →

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