#A54FBF#A54FBF

#A54FBF is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.182 H 317.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A54FBF
RGBrgb(165, 79, 191)
HSLhsl(286, 47%, 53%)
HSVhsv(286, 59%, 75%)
CMYKcmyk(13.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(48.70, 52.67, -43.94)
CIE-LCHlch(48.70, 68.59, 320.17°)
OKLaboklab(58.02% 0.1349 -0.1226)
OKLCHoklch(58.02% 0.182 317.7)
XYZxyz(27.7157, 17.3540, 51.1698)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FBF #69BF4F
analogous
#6D4FBF #A54FBF #BF4FA1
triadic
#A54FBF #BFA54F #4FBFA5
tetradic
#A54FBF #BF6D4F #69BF4F #4FA1BF
square
#A54FBF #BF6D4F #69BF4F #4FA1BF
split-complementary
#A54FBF #A1BF4F #4FBF6D
monochromatic
#5C276C #823899 #A54FBF #BC7CCF #D3A9E0

Accessibility & contrast

On white

4.70
#A54FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A54FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FBF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FBF#FFFFFF#000000##FFFFFF
##A54FBF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#A46180
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54fbf;
/* rgb */ color: rgb(165, 79, 191);
/* oklch */ color: oklch(58.0% 0.182 317.7);
Tailwind
colors: {
  custom: {
    50: '#c285d3',
    500: '#a54fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a54fbf;
$custom-light: #c285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fbf",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 286.071,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.18228,
    "h": 317.7
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#A54FBF
secondary
#A8CD9D
accent
#D65170
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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