#A654E7#A654E7

#A654E7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.217 H 306.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A654E7
RGBrgb(166, 84, 231)
HSLhsl(273, 75%, 62%)
HSVhsv(273, 64%, 91%)
CMYKcmyk(28.1%, 63.6%, 0%, 9.4%)
CIE-LABlab(52.08, 59.09, -61.37)
CIE-LCHlch(52.08, 85.19, 313.92°)
OKLaboklab(61.26% 0.1296 -0.1737)
OKLCHoklch(61.26% 0.217 306.7)
XYZxyz(33.3170, 20.2175, 77.7330)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E7 #95E754
analogous
#5C54E7 #A654E7 #E754DF
triadic
#A654E7 #E7A654 #54E7A6
tetradic
#A654E7 #E75C54 #95E754 #54DFE7
square
#A654E7 #E75C54 #95E754 #54DFE7
split-complementary
#A654E7 #DFE754 #54E75C
monochromatic
#6918A9 #8A1FDF #A654E7 #C28AEF #DEBFF6

Accessibility & contrast

On white

4.16
#A654E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A654E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E7#FFFFFF#000000##000000
##A654E71.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#9B7396
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a654e7;
/* rgb */ color: rgb(166, 84, 231);
/* oklch */ color: oklch(61.3% 0.217 306.7);
Tailwind
colors: {
  custom: {
    50: '#c589ef',
    500: '#a654e7',
    950: '#000000',
  },
}
SCSS
$custom: #a654e7;
$custom-light: #c589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e7",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 273.469,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.21666,
    "h": 306.7
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#A654E7
secondary
#C8E7B0
accent
#D80E67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A654E7

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

Preview Lab → · Contrast checker → · Palette generator →

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