#A54BB2#A54BB2

#A54BB2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.176 H 322.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A54BB2
RGBrgb(165, 75, 178)
HSLhsl(292, 41%, 50%)
HSVhsv(292, 58%, 70%)
CMYKcmyk(7.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(47.30, 52.03, -38.59)
CIE-LCHlch(47.30, 64.78, 323.44°)
OKLaboklab(56.77% 0.1393 -0.1071)
OKLCHoklch(56.77% 0.176 322.4)
XYZxyz(26.0682, 16.2471, 43.8737)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BB2 #58B24B
analogous
#724BB2 #A54BB2 #B24B8C
triadic
#A54BB2 #B2A54B #4BB2A5
tetradic
#A54BB2 #B2724B #58B24B #4B8CB2
square
#A54BB2 #B2724B #58B24B #4B8CB2
split-complementary
#A54BB2 #8CB24B #4BB272
monochromatic
#55275C #7D3987 #A54BB2 #BB75C5 #D0A0D7

Accessibility & contrast

On white

4.94
#A54BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A54BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BB2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BB2#FFFFFF#000000##FFFFFF
##A54BB21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#A75A77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a54bb2;
/* rgb */ color: rgb(165, 75, 178);
/* oklch */ color: oklch(56.8% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#c282c9',
    500: '#a54bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a54bb2;
$custom-light: #c282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bb2",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 292.427,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.17566,
    "h": 322.4
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#A54BB2
secondary
#9BC495
accent
#D15767
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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