#A54BBB#A54BBB

#A54BBB is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.184 H 319.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A54BBB
RGBrgb(165, 75, 187)
HSLhsl(288, 45%, 51%)
HSVhsv(288, 60%, 73%)
CMYKcmyk(11.8%, 59.9%, 0%, 26.7%)
CIE-LABlab(47.78, 53.78, -43.08)
CIE-LCHlch(47.78, 68.91, 321.30°)
OKLaboklab(57.27% 0.1398 -0.1201)
OKLCHoklch(57.27% 0.184 319.3)
XYZxyz(27.0016, 16.6205, 48.7898)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BBB #61BB4B
analogous
#6D4BBB #A54BBB #BB4B99
triadic
#A54BBB #BBA54B #4BBBA5
tetradic
#A54BBB #BB6D4B #61BB4B #4B99BB
square
#A54BBB #BB6D4B #61BB4B #4B99BB
split-complementary
#A54BBB #99BB4B #4BBB6D
monochromatic
#592665 #803792 #A54BBB #BB77CC #D1A4DD

Accessibility & contrast

On white

4.86
#A54BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A54BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BBB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BBB#FFFFFF#000000##FFFFFF
##A54BBB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#A55D7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54bbb;
/* rgb */ color: rgb(165, 75, 187);
/* oklch */ color: oklch(57.3% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#c282d0',
    500: '#a54bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a54bbb;
$custom-light: #c282d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bbb",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 288.214,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.18431,
    "h": 319.3
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#A54BBB
secondary
#A2CA98
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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