#A054CC#A054CC

#A054CC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.186 H 311.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A054CC
RGBrgb(160, 84, 204)
HSLhsl(278, 54%, 56%)
HSVhsv(278, 59%, 80%)
CMYKcmyk(21.6%, 58.8%, 0%, 20%)
CIE-LABlab(49.71, 51.69, -49.87)
CIE-LCHlch(49.71, 71.83, 316.03°)
OKLaboklab(58.85% 0.1227 -0.1401)
OKLCHoklch(58.85% 0.186 311.2)
XYZxyz(28.5646, 18.1745, 59.1183)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054CC #80CC54
analogous
#6454CC #A054CC #CC54BC
triadic
#A054CC #CCA054 #54CCA0
tetradic
#A054CC #CC6454 #80CC54 #54BCCC
square
#A054CC #CC6454 #80CC54 #54BCCC
split-complementary
#A054CC #BCCC54 #54CC64
monochromatic
#5F2680 #8234AF #A054CC #BA83DA #D4B2E8

Accessibility & contrast

On white

4.53
#A054CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A054CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A054CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A054CC#FFFFFF#000000##000000
##A054CC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#9B6A88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a054cc;
/* rgb */ color: rgb(160, 84, 204);
/* oklch */ color: oklch(58.9% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf88dc',
    500: '#a054cc',
    950: '#000000',
  },
}
SCSS
$custom: #a054cc;
$custom-light: #bf88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a054cc",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 278,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.18627,
    "h": 311.2
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#A054CC
secondary
#B7D7A5
accent
#DD4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A054CC

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

Preview Lab → · Contrast checker → · Palette generator →

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