#A054D2#A054D2

#A054D2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.193 H 309.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A054D2
RGBrgb(160, 84, 210)
HSLhsl(276, 58%, 58%)
HSVhsv(276, 60%, 82%)
CMYKcmyk(23.8%, 60%, 0%, 17.6%)
CIE-LABlab(50.06, 53.02, -52.75)
CIE-LCHlch(50.06, 74.79, 315.15°)
OKLaboklab(59.22% 0.1227 -0.1486)
OKLCHoklch(59.22% 0.193 309.6)
XYZxyz(29.2981, 18.4679, 62.9815)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054D2 #86D254
analogous
#6154D2 #A054D2 #D254C5
triadic
#A054D2 #D2A054 #54D2A0
tetradic
#A054D2 #D26154 #86D254 #54C5D2
square
#A054D2 #D26154 #86D254 #54C5D2
split-complementary
#A054D2 #C5D254 #54D261
monochromatic
#602488 #8231B8 #A054D2 #BB84DF #D6B5EB

Accessibility & contrast

On white

4.47
#A054D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A054D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A054D2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A054D2#FFFFFF#000000##000000
##A054D21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#996C8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a054d2;
/* rgb */ color: rgb(160, 84, 210);
/* oklch */ color: oklch(59.2% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#bf88e0',
    500: '#a054d2',
    950: '#000000',
  },
}
SCSS
$custom: #a054d2;
$custom-light: #bf88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a054d2",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 276.19,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.19269,
    "h": 309.6
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#A054D2
secondary
#BCDAA8
accent
#E24684
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A054D2

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

Preview Lab → · Contrast checker → · Palette generator →

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