#A654DF#A654DF

#A654DF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.208 H 308.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A654DF
RGBrgb(166, 84, 223)
HSLhsl(275, 68%, 60%)
HSVhsv(275, 62%, 87%)
CMYKcmyk(25.6%, 62.3%, 0%, 12.5%)
CIE-LABlab(51.58, 57.30, -57.65)
CIE-LCHlch(51.58, 81.28, 314.82°)
OKLaboklab(60.74% 0.13 -0.1628)
OKLCHoklch(60.74% 0.208 308.6)
XYZxyz(32.2128, 19.7759, 71.9179)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A654DF #8DDF54
analogous
#6154DF #A654DF #DF54D2
triadic
#A654DF #DFA654 #54DFA6
tetradic
#A654DF #DF6154 #8DDF54 #54D2DF
square
#A654DF #DF6154 #8DDF54 #54D2DF
split-complementary
#A654DF #D2DF54 #54DF61
monochromatic
#681D9C #8A27CF #A654DF #C188E9 #DCBBF2

Accessibility & contrast

On white

4.24
#A654DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A654DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A654DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A654DF#FFFFFF#000000##000000
##A654DF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0178E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#9E7092
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a654df;
/* rgb */ color: rgb(166, 84, 223);
/* oklch */ color: oklch(60.7% 0.208 308.6);
Tailwind
colors: {
  custom: {
    50: '#c489ea',
    500: '#a654df',
    950: '#000000',
  },
}
SCSS
$custom: #a654df;
$custom-light: #c489ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a654df",
  "rgb": {
    "r": 166,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 275.396,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.20831,
    "h": 308.6
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#A654DF
secondary
#C3E2AD
accent
#D01562
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A654DF

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

Preview Lab → · Contrast checker → · Palette generator →

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