#A54BB7#A54BB7

#A54BB7 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.180 H 320.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A54BB7
RGBrgb(165, 75, 183)
HSLhsl(290, 43%, 51%)
HSVhsv(290, 59%, 72%)
CMYKcmyk(9.8%, 59%, 0%, 28.2%)
CIE-LABlab(47.56, 53.00, -41.09)
CIE-LCHlch(47.56, 67.06, 322.21°)
OKLaboklab(57.05% 0.1396 -0.1143)
OKLCHoklch(57.05% 0.18 320.7)
XYZxyz(26.5794, 16.4516, 46.5660)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BB7 #5DB74B
analogous
#6F4BB7 #A54BB7 #B74B93
triadic
#A54BB7 #B7A54B #4BB7A5
tetradic
#A54BB7 #B76F4B #5DB74B #4B93B7
square
#A54BB7 #B76F4B #5DB74B #4B93B7
split-complementary
#A54BB7 #93B74B #4BB76F
monochromatic
#572761 #7F388D #A54BB7 #BB77C8 #D1A2DA

Accessibility & contrast

On white

4.90
#A54BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A54BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BB7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BB7#FFFFFF#000000##FFFFFF
##A54BB71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#A65C7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54bb7;
/* rgb */ color: rgb(165, 75, 183);
/* oklch */ color: oklch(57.0% 0.180 320.7);
Tailwind
colors: {
  custom: {
    50: '#c282cd',
    500: '#a54bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a54bb7;
$custom-light: #c282cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bb7",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 290,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.18043,
    "h": 320.7
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#A54BB7
secondary
#9FC797
accent
#D3556A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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