#A54BC0#A54BC0

#A54BC0 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.189 H 317.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A54BC0
RGBrgb(165, 75, 192)
HSLhsl(286, 48%, 52%)
HSVhsv(286, 61%, 75%)
CMYKcmyk(14.1%, 60.9%, 0%, 24.7%)
CIE-LABlab(48.06, 54.78, -45.55)
CIE-LCHlch(48.06, 71.24, 320.26°)
OKLaboklab(57.57% 0.1399 -0.1273)
OKLCHoklch(57.57% 0.189 317.7)
XYZxyz(27.5462, 16.8383, 51.6581)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BC0 #66C04B
analogous
#6B4BC0 #A54BC0 #C04BA0
triadic
#A54BC0 #C0A54B #4BC0A5
tetradic
#A54BC0 #C06B4B #66C04B #4BA0C0
square
#A54BC0 #C06B4B #66C04B #4BA0C0
split-complementary
#A54BC0 #A0C04B #4BC06B
monochromatic
#5B256B #823598 #A54BC0 #BC78D0 #D2A6E0

Accessibility & contrast

On white

4.81
#A54BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A54BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BC0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BC0#FFFFFF#000000##FFFFFF
##A54BC01.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC4
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#A45F7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54bc0;
/* rgb */ color: rgb(165, 75, 192);
/* oklch */ color: oklch(57.6% 0.189 317.7);
Tailwind
colors: {
  custom: {
    50: '#c382d3',
    500: '#a54bc0',
    950: '#000000',
  },
}
SCSS
$custom: #a54bc0;
$custom-light: #c382d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bc0",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 286.154,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.18918,
    "h": 317.7
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#A54BC0
secondary
#A6CD9A
accent
#D8506F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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