#A54BD8#A54BD8

#A54BD8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.213 H 310.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A54BD8
RGBrgb(165, 75, 216)
HSLhsl(278, 64%, 57%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(23.6%, 65.3%, 0%, 15.3%)
CIE-LABlab(49.48, 59.78, -57.06)
CIE-LCHlch(49.48, 82.64, 316.33°)
OKLaboklab(59.06% 0.1394 -0.161)
OKLCHoklch(59.06% 0.213 310.9)
XYZxyz(30.4255, 17.9900, 66.8221)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BD8 #7ED84B
analogous
#5F4BD8 #A54BD8 #D84BC5
triadic
#A54BD8 #D8A54B #4BD8A5
tetradic
#A54BD8 #D85F4B #7ED84B #4BC5D8
square
#A54BD8 #D85F4B #7ED84B #4BC5D8
split-complementary
#A54BD8 #C5D84B #4BD85F
monochromatic
#631E8B #8729BD #A54BD8 #BE7DE3 #D7B0EE

Accessibility & contrast

On white

4.57
#A54BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A54BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BD8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BD8#FFFFFF#000000##000000
##A54BD81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3A77D5
Tritanopia (blue-blind)
#9E688B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54bd8;
/* rgb */ color: rgb(165, 75, 216);
/* oklch */ color: oklch(59.1% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#c483e5',
    500: '#a54bd8',
    950: '#000000',
  },
}
SCSS
$custom: #a54bd8;
$custom-light: #c483e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bd8",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 278.298,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.21294,
    "h": 310.9
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#A54BD8
secondary
#B7DCA3
accent
#E7407D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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