#A654CD#A654CD

#A654CD is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.190 H 313.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A654CD
RGBrgb(166, 84, 205)
HSLhsl(281, 55%, 57%)
HSVhsv(281, 59%, 80%)
CMYKcmyk(19%, 59%, 0%, 19.6%)
CIE-LABlab(50.52, 53.39, -49.11)
CIE-LCHlch(50.52, 72.54, 317.39°)
OKLaboklab(59.62% 0.1302 -0.1377)
OKLCHoklch(59.62% 0.19 313.4)
XYZxyz(29.9138, 18.8562, 59.8096)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654CD #7BCD54
analogous
#6A54CD #A654CD #CD54B8
triadic
#A654CD #CDA654 #54CDA6
tetradic
#A654CD #CD6A54 #7BCD54 #54B8CD
square
#A654CD #CD6A54 #7BCD54 #54B8CD
split-complementary
#A654CD #B8CD54 #54CD6A
monochromatic
#642681 #8834B0 #A654CD #BF83DB #D7B3E9

Accessibility & contrast

On white

4.40
#A654CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A654CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654CD#FFFFFF#000000##000000
##A654CD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a654cd;
/* rgb */ color: rgb(166, 84, 205);
/* oklch */ color: oklch(59.6% 0.190 313.4);
Tailwind
colors: {
  custom: {
    50: '#c388dd',
    500: '#a654cd',
    950: '#000000',
  },
}
SCSS
$custom: #a654cd;
$custom-light: #c388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a654cd",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 280.661,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.18952,
    "h": 313.4
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#A654CD
secondary
#B6D7A6
accent
#DE4A7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A654CD

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

Preview Lab → · Contrast checker → · Palette generator →

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