#A654ED#A654ED

#A654ED is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.223 H 305.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A654ED
RGBrgb(166, 84, 237)
HSLhsl(272, 81%, 63%)
HSVhsv(272, 65%, 93%)
CMYKcmyk(30%, 64.6%, 0%, 7.1%)
CIE-LABlab(52.47, 60.44, -64.12)
CIE-LCHlch(52.47, 88.11, 313.31°)
OKLaboklab(61.66% 0.1291 -0.1817)
OKLCHoklch(61.66% 0.223 305.4)
XYZxyz(34.1789, 20.5623, 82.2727)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654ED #9BED54
analogous
#5954ED #A654ED #ED54E7
triadic
#A654ED #EDA654 #54EDA6
tetradic
#A654ED #ED5954 #9BED54 #54E7ED
square
#A654ED #ED5954 #9BED54 #54E7ED
split-complementary
#A654ED #E7ED54 #54ED59
monochromatic
#6913B4 #891DE7 #A654ED #C38BF3 #E0C3F9

Accessibility & contrast

On white

4.11
#A654ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A654ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654ED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654ED#FFFFFF#000000##000000
##A654ED1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#2A7DEA
Tritanopia (blue-blind)
#997599
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a654ed;
/* rgb */ color: rgb(166, 84, 237);
/* oklch */ color: oklch(61.7% 0.223 305.4);
Tailwind
colors: {
  custom: {
    50: '#c589f4',
    500: '#a654ed',
    950: '#000000',
  },
}
SCSS
$custom: #a654ed;
$custom-light: #c589f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a654ed",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 272.157,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.22294,
    "h": 305.4
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#A654ED
secondary
#CCEAB3
accent
#DD086B
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A654ED

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

Preview Lab → · Contrast checker → · Palette generator →

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