#A54BBE#A54BBE

#A54BBE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.187 H 318.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A54BBE
RGBrgb(165, 75, 190)
HSLhsl(287, 47%, 52%)
HSVhsv(287, 61%, 75%)
CMYKcmyk(13.2%, 60.5%, 0%, 25.5%)
CIE-LABlab(47.94, 54.38, -44.56)
CIE-LCHlch(47.94, 70.31, 320.67°)
OKLaboklab(57.45% 0.1399 -0.1244)
OKLCHoklch(57.45% 0.187 318.3)
XYZxyz(27.3261, 16.7503, 50.4989)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BBE #64BE4B
analogous
#6C4BBE #A54BBE #BE4B9D
triadic
#A54BBE #BEA54B #4BBEA5
tetradic
#A54BBE #BE6C4B #64BE4B #4B9DBE
square
#A54BBE #BE6C4B #64BE4B #4B9DBE
split-complementary
#A54BBE #9DBE4B #4BBE6C
monochromatic
#5A2669 #813696 #A54BBE #BB78CE #D2A5DE

Accessibility & contrast

On white

4.83
#A54BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A54BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BBE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BBE#FFFFFF#000000##FFFFFF
##A54BBE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#A55E7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54bbe;
/* rgb */ color: rgb(165, 75, 190);
/* oklch */ color: oklch(57.4% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#c382d2',
    500: '#a54bbe',
    950: '#000000',
  },
}
SCSS
$custom: #a54bbe;
$custom-light: #c382d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bbe",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 286.957,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.18722,
    "h": 318.3
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#A54BBE
secondary
#A4CC99
accent
#D7516E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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