#A654E2#A654E2

#A654E2 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.211 H 307.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A654E2
RGBrgb(166, 84, 226)
HSLhsl(275, 71%, 61%)
HSVhsv(275, 63%, 89%)
CMYKcmyk(26.5%, 62.8%, 0%, 11.4%)
CIE-LABlab(51.77, 57.97, -59.05)
CIE-LCHlch(51.77, 82.75, 314.47°)
OKLaboklab(60.93% 0.1299 -0.1669)
OKLCHoklch(60.93% 0.211 307.9)
XYZxyz(32.6209, 19.9391, 74.0669)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654E2 #90E254
analogous
#5F54E2 #A654E2 #E254D7
triadic
#A654E2 #E2A654 #54E2A6
tetradic
#A654E2 #E25F54 #90E254 #54D7E2
square
#A654E2 #E25F54 #90E254 #54D7E2
split-complementary
#A654E2 #D7E254 #54E25F
monochromatic
#681BA0 #8A24D5 #A654E2 #C188EB #DCBDF4

Accessibility & contrast

On white

4.21
#A654E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A654E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654E2#FFFFFF#000000##000000
##A654E21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#9D7194
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a654e2;
/* rgb */ color: rgb(166, 84, 226);
/* oklch */ color: oklch(60.9% 0.211 307.9);
Tailwind
colors: {
  custom: {
    50: '#c489ec',
    500: '#a654e2',
    950: '#000000',
  },
}
SCSS
$custom: #a654e2;
$custom-light: #c489ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a654e2",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 274.648,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.21144,
    "h": 307.9
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A654E2

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

Preview Lab → · Contrast checker → · Palette generator →

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