#A54CBB#A54CBB

#A54CBB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.183 H 319.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A54CBB
RGBrgb(165, 76, 187)
HSLhsl(288, 45%, 52%)
HSVhsv(288, 59%, 73%)
CMYKcmyk(11.8%, 59.4%, 0%, 26.7%)
CIE-LABlab(47.95, 53.31, -42.81)
CIE-LCHlch(47.95, 68.37, 321.24°)
OKLaboklab(57.4% 0.1385 -0.1193)
OKLCHoklch(57.4% 0.183 319.3)
XYZxyz(27.0700, 16.7572, 48.8126)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CBB #62BB4C
analogous
#6E4CBB #A54CBB #BB4C9A
triadic
#A54CBB #BBA54C #4CBBA5
tetradic
#A54CBB #BB6E4C #62BB4C #4C9ABB
square
#A54CBB #BB6E4C #62BB4C #4C9ABB
split-complementary
#A54CBB #9ABB4C #4CBB6E
monochromatic
#592766 #803892 #A54CBB #BB78CC #D2A5DD

Accessibility & contrast

On white

4.83
#A54CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A54CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CBB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CBB#FFFFFF#000000##FFFFFF
##A54CBB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#A55E7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54cbb;
/* rgb */ color: rgb(165, 76, 187);
/* oklch */ color: oklch(57.4% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#c283d0',
    500: '#a54cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a54cbb;
$custom-light: #c283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cbb",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 288.108,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.18282,
    "h": 319.3
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#A54CBB
secondary
#A3CA99
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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