#A654EC#A654EC

#A654EC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.222 H 305.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A654EC
RGBrgb(166, 84, 236)
HSLhsl(272, 80%, 63%)
HSVhsv(272, 64%, 93%)
CMYKcmyk(29.7%, 64.4%, 0%, 7.5%)
CIE-LABlab(52.40, 60.21, -63.66)
CIE-LCHlch(52.40, 87.63, 313.41°)
OKLaboklab(61.59% 0.1292 -0.1804)
OKLCHoklch(61.59% 0.222 305.6)
XYZxyz(34.0332, 20.5040, 81.5054)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654EC #9AEC54
analogous
#5A54EC #A654EC #EC54E6
triadic
#A654EC #ECA654 #54ECA6
tetradic
#A654EC #EC5A54 #9AEC54 #54E6EC
square
#A654EC #EC5A54 #9AEC54 #54E6EC
split-complementary
#A654EC #E6EC54 #54EC5A
monochromatic
#6914B2 #891DE6 #A654EC #C38BF2 #DFC2F8

Accessibility & contrast

On white

4.12
#A654EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A654EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654EC#FFFFFF#000000##000000
##A654EC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#2C7DE9
Tritanopia (blue-blind)
#9A7599
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a654ec;
/* rgb */ color: rgb(166, 84, 236);
/* oklch */ color: oklch(61.6% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#c589f3',
    500: '#a654ec',
    950: '#000000',
  },
}
SCSS
$custom: #a654ec;
$custom-light: #c589f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a654ec",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 272.368,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61591,
    "c": 0.22189,
    "h": 305.6
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#A654EC
secondary
#CCE9B2
accent
#DC096A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A654EC

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

Preview Lab → · Contrast checker → · Palette generator →

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