#A54FBC#A54FBC

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

Color values

HEX#A54FBC
RGBrgb(165, 79, 188)
HSLhsl(287, 45%, 52%)
HSVhsv(287, 58%, 74%)
CMYKcmyk(12.2%, 58%, 0%, 26.3%)
CIE-LABlab(48.54, 52.06, -42.46)
CIE-LCHlch(48.54, 67.18, 320.81°)
OKLaboklab(57.85% 0.1347 -0.1183)
OKLCHoklch(57.85% 0.179 318.7)
XYZxyz(27.3889, 17.2232, 49.4489)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FBC #66BC4F
analogous
#6E4FBC #A54FBC #BC4F9D
triadic
#A54FBC #BCA54F #4FBCA5
tetradic
#A54FBC #BC6E4F #66BC4F #4F9DBC
square
#A54FBC #BC6E4F #66BC4F #4F9DBC
split-complementary
#A54FBC #9DBC4F #4FBC6E
monochromatic
#5B2869 #823995 #A54FBC #BC7BCD #D2A8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54FBC#FFFFFF#000000##FFFFFF
##A54FBC1.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)
#366EBF
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#A5607E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54fbc;
/* rgb */ color: rgb(165, 79, 188);
/* oklch */ color: oklch(57.8% 0.179 318.7);
Tailwind
colors: {
  custom: {
    50: '#c285d0',
    500: '#a54fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a54fbc;
$custom-light: #c285d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fbc",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 287.339,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.1793,
    "h": 318.7
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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