#A654CF#A654CF

#A654CF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.192 H 312.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A654CF
RGBrgb(166, 84, 207)
HSLhsl(280, 56%, 57%)
HSVhsv(280, 59%, 81%)
CMYKcmyk(19.8%, 59.4%, 0%, 18.8%)
CIE-LABlab(50.63, 53.81, -50.07)
CIE-LCHlch(50.63, 73.51, 317.06°)
OKLaboklab(59.74% 0.1302 -0.1405)
OKLCHoklch(59.74% 0.192 312.8)
XYZxyz(30.1567, 18.9534, 61.0892)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654CF #7DCF54
analogous
#6954CF #A654CF #CF54BB
triadic
#A654CF #CFA654 #54CFA6
tetradic
#A654CF #CF6954 #7DCF54 #54BBCF
square
#A654CF #CF6954 #7DCF54 #54BBCF
split-complementary
#A654CF #BBCF54 #54CF69
monochromatic
#642584 #8832B3 #A654CF #BF84DC #D8B4EA

Accessibility & contrast

On white

4.38
#A654CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A654CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654CF#FFFFFF#000000##000000
##A654CF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#A26A8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a654cf;
/* rgb */ color: rgb(166, 84, 207);
/* oklch */ color: oklch(59.7% 0.192 312.8);
Tailwind
colors: {
  custom: {
    50: '#c388de',
    500: '#a654cf',
    950: '#000000',
  },
}
SCSS
$custom: #a654cf;
$custom-light: #c388de;
$custom-dark: #000000;
JSON
{
  "hex": "#a654cf",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.1916,
    "h": 312.8
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#A654CF
secondary
#B7D8A6
accent
#DF487B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654CF

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

Preview Lab → · Contrast checker → · Palette generator →

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