#A654D3#A654D3

#A654D3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.196 H 311.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A654D3
RGBrgb(166, 84, 211)
HSLhsl(279, 59%, 58%)
HSVhsv(279, 60%, 83%)
CMYKcmyk(21.3%, 60.2%, 0%, 17.3%)
CIE-LABlab(50.86, 54.67, -51.99)
CIE-LCHlch(50.86, 75.44, 316.44°)
OKLaboklab(59.99% 0.1302 -0.1461)
OKLCHoklch(59.99% 0.196 311.7)
XYZxyz(30.6519, 19.1515, 63.6973)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654D3 #81D354
analogous
#6654D3 #A654D3 #D354C1
triadic
#A654D3 #D3A654 #54D3A6
tetradic
#A654D3 #D36654 #81D354 #54C1D3
square
#A654D3 #D36654 #81D354 #54C1D3
split-complementary
#A654D3 #C1D354 #54D366
monochromatic
#652389 #8930BA #A654D3 #BF85E0 #D9B5EC

Accessibility & contrast

On white

4.35
#A654D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A654D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654D3#FFFFFF#000000##000000
##A654D31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2475D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#A16C8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a654d3;
/* rgb */ color: rgb(166, 84, 211);
/* oklch */ color: oklch(60.0% 0.196 311.7);
Tailwind
colors: {
  custom: {
    50: '#c488e1',
    500: '#a654d3',
    950: '#000000',
  },
}
SCSS
$custom: #a654d3;
$custom-light: #c488e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a654d3",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 278.74,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.19576,
    "h": 311.7
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#A654D3
secondary
#BADBA8
accent
#E2467D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654D3

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

Preview Lab → · Contrast checker → · Palette generator →

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