#A654CE#A654CE

#A654CE is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.191 H 313.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A654CE
RGBrgb(166, 84, 206)
HSLhsl(280, 55%, 57%)
HSVhsv(280, 59%, 81%)
CMYKcmyk(19.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(50.58, 53.60, -49.59)
CIE-LCHlch(50.58, 73.02, 317.23°)
OKLaboklab(59.68% 0.1302 -0.1391)
OKLCHoklch(59.68% 0.191 313.1)
XYZxyz(30.0349, 18.9047, 60.4473)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654CE #7CCE54
analogous
#6954CE #A654CE #CE54B9
triadic
#A654CE #CEA654 #54CEA6
tetradic
#A654CE #CE6954 #7CCE54 #54B9CE
square
#A654CE #CE6954 #7CCE54 #54B9CE
split-complementary
#A654CE #B9CE54 #54CE69
monochromatic
#642582 #8833B2 #A654CE #BF84DC #D8B3E9

Accessibility & contrast

On white

4.39
#A654CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A654CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654CE#FFFFFF#000000##000000
##A654CE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#A26A89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a654ce;
/* rgb */ color: rgb(166, 84, 206);
/* oklch */ color: oklch(59.7% 0.191 313.1);
Tailwind
colors: {
  custom: {
    50: '#c388dd',
    500: '#a654ce',
    950: '#000000',
  },
}
SCSS
$custom: #a654ce;
$custom-light: #c388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a654ce",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 280.328,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.19056,
    "h": 313.1
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#A654CE
secondary
#B6D8A6
accent
#DF497A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654CE

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

Preview Lab → · Contrast checker → · Palette generator →

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