#A54FB2#A54FB2

#A54FB2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.169 H 322.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A54FB2
RGBrgb(165, 79, 178)
HSLhsl(292, 39%, 50%)
HSVhsv(292, 56%, 70%)
CMYKcmyk(7.3%, 55.6%, 0%, 30.2%)
CIE-LABlab(48.02, 50.09, -37.45)
CIE-LCHlch(48.02, 62.54, 323.21°)
OKLaboklab(57.29% 0.134 -0.1038)
OKLCHoklch(57.29% 0.169 322.2)
XYZxyz(26.3481, 16.8069, 43.9670)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FB2 #5CB24F
analogous
#734FB2 #A54FB2 #B24F8D
triadic
#A54FB2 #B2A54F #4FB2A5
tetradic
#A54FB2 #B2734F #5CB24F #4F8DB2
square
#A54FB2 #B2734F #5CB24F #4F8DB2
split-complementary
#A54FB2 #8DB24F #4FB273
monochromatic
#57295E #7E3C88 #A54FB2 #BB7AC5 #D1A4D7

Accessibility & contrast

On white

4.82
#A54FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A54FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FB2#FFFFFF#000000##FFFFFF
##A54FB21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#A75D79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54fb2;
/* rgb */ color: rgb(165, 79, 178);
/* oklch */ color: oklch(57.3% 0.169 322.2);
Tailwind
colors: {
  custom: {
    50: '#c284c9',
    500: '#a54fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a54fb2;
$custom-light: #c284c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fb2",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 292.121,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.16948,
    "h": 322.2
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#A54FB2
secondary
#9EC498
accent
#CF5968
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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