#A54FBB#A54FBB

#A54FBB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.178 H 319.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A54FBB
RGBrgb(165, 79, 187)
HSLhsl(288, 44%, 52%)
HSVhsv(288, 58%, 73%)
CMYKcmyk(11.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(48.49, 51.86, -41.96)
CIE-LCHlch(48.49, 66.71, 321.03°)
OKLaboklab(57.79% 0.1347 -0.1169)
OKLCHoklch(57.79% 0.178 319)
XYZxyz(27.2815, 17.1803, 48.8831)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FBB #65BB4F
analogous
#6F4FBB #A54FBB #BB4F9B
triadic
#A54FBB #BBA54F #4FBBA5
tetradic
#A54FBB #BB6F4F #65BB4F #4F9BBB
square
#A54FBB #BB6F4F #65BB4F #4F9BBB
split-complementary
#A54FBB #9BBB4F #4FBB6F
monochromatic
#5B2868 #813994 #A54FBB #BC7BCC #D2A7DD

Accessibility & contrast

On white

4.73
#A54FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A54FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FBB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FBB#FFFFFF#000000##FFFFFF
##A54FBB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#A5607E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54fbb;
/* rgb */ color: rgb(165, 79, 187);
/* oklch */ color: oklch(57.8% 0.178 319.0);
Tailwind
colors: {
  custom: {
    50: '#c285d0',
    500: '#a54fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a54fbb;
$custom-light: #c285d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fbb",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 287.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.17831,
    "h": 319
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#A54FBB
secondary
#A5CA9B
accent
#D4546E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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