#A654DB#A654DB

#A654DB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.204 H 309.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A654DB
RGBrgb(166, 84, 219)
HSLhsl(276, 65%, 59%)
HSVhsv(276, 62%, 86%)
CMYKcmyk(24.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(51.34, 56.42, -55.78)
CIE-LCHlch(51.34, 79.34, 315.33°)
OKLaboklab(60.48% 0.1301 -0.1573)
OKLCHoklch(60.48% 0.204 309.6)
XYZxyz(31.6799, 19.5627, 69.1112)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654DB #89DB54
analogous
#6354DB #A654DB #DB54CD
triadic
#A654DB #DBA654 #54DBA6
tetradic
#A654DB #DB6354 #89DB54 #54CDDB
square
#A654DB #DB6354 #89DB54 #54CDDB
split-complementary
#A654DB #CDDB54 #54DB63
monochromatic
#671F95 #8A2AC8 #A654DB #C087E6 #DBB9F0

Accessibility & contrast

On white

4.27
#A654DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A654DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654DB#FFFFFF#000000##000000
##A654DB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#9F6E90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a654db;
/* rgb */ color: rgb(166, 84, 219);
/* oklch */ color: oklch(60.5% 0.204 309.6);
Tailwind
colors: {
  custom: {
    50: '#c488e7',
    500: '#a654db',
    950: '#000000',
  },
}
SCSS
$custom: #a654db;
$custom-light: #c488e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a654db",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 276.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.20411,
    "h": 309.6
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#A654DB
secondary
#C0E0AB
accent
#E84082
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654DB

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

Preview Lab → · Contrast checker → · Palette generator →

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