#A054DB#A054DB

#A054DB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.202 H 307.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A054DB
RGBrgb(160, 84, 219)
HSLhsl(274, 65%, 59%)
HSVhsv(274, 62%, 86%)
CMYKcmyk(26.9%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.60, 55.04, -57.00)
CIE-LCHlch(50.60, 79.24, 314.00°)
OKLaboklab(59.79% 0.1225 -0.161)
OKLCHoklch(59.79% 0.202 307.3)
XYZxyz(30.4511, 18.9291, 69.0536)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054DB #8FDB54
analogous
#5D54DB #A054DB #DB54D2
triadic
#A054DB #DBA054 #54DBA0
tetradic
#A054DB #DB5D54 #8FDB54 #54D2DB
square
#A054DB #DB5D54 #8FDB54 #54D2DB
split-complementary
#A054DB #D2DB54 #54DB5D
monochromatic
#621F95 #832AC8 #A054DB #BC87E6 #D8B9F0

Accessibility & contrast

On white

4.39
#A054DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A054DB#FFFFFF#000000##000000
##A054DB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#976F90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a054db;
/* rgb */ color: rgb(160, 84, 219);
/* oklch */ color: oklch(59.8% 0.202 307.3);
Tailwind
colors: {
  custom: {
    50: '#c088e7',
    500: '#a054db',
    950: '#000000',
  },
}
SCSS
$custom: #a054db;
$custom-light: #c088e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a054db",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 273.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.20234,
    "h": 307.3
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#A054DB
secondary
#C2E0AB
accent
#E84089
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A054DB

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

Preview Lab → · Contrast checker → · Palette generator →

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