#A54FBD#A54FBD

#A54FBD is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.180 H 318.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54FBD
RGBrgb(165, 79, 189)
HSLhsl(287, 45%, 53%)
HSVhsv(287, 58%, 74%)
CMYKcmyk(12.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(48.59, 52.27, -42.95)
CIE-LCHlch(48.59, 67.65, 320.59°)
OKLaboklab(57.9% 0.1348 -0.1198)
OKLCHoklch(57.9% 0.18 318.4)
XYZxyz(27.4971, 17.2665, 50.0186)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FBD #67BD4F
analogous
#6E4FBD #A54FBD #BD4F9E
triadic
#A54FBD #BDA54F #4FBDA5
tetradic
#A54FBD #BD6E4F #67BD4F #4F9EBD
square
#A54FBD #BD6E4F #67BD4F #4F9EBD
split-complementary
#A54FBD #9EBD4F #4FBD6E
monochromatic
#5B286A #823896 #A54FBD #BC7CCE #D3A8DE

Accessibility & contrast

On white

4.72
#A54FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A54FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FBD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FBD#FFFFFF#000000##FFFFFF
##A54FBD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#A5617F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54fbd;
/* rgb */ color: rgb(165, 79, 189);
/* oklch */ color: oklch(57.9% 0.180 318.4);
Tailwind
colors: {
  custom: {
    50: '#c285d1',
    500: '#a54fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a54fbd;
$custom-light: #c285d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fbd",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 286.909,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.1803,
    "h": 318.4
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#A54FBD
secondary
#A6CC9C
accent
#D5536F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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