#A54BC9#A54BC9

#A54BC9 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.198 H 315.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54BC9
RGBrgb(165, 75, 201)
HSLhsl(283, 54%, 54%)
HSVhsv(283, 63%, 79%)
CMYKcmyk(17.9%, 62.7%, 0%, 21.2%)
CIE-LABlab(48.57, 56.62, -49.92)
CIE-LCHlch(48.57, 75.49, 318.60°)
OKLaboklab(58.11% 0.14 -0.1401)
OKLCHoklch(58.11% 0.198 315)
XYZxyz(28.5740, 17.2495, 57.0713)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BC9 #6FC94B
analogous
#664BC9 #A54BC9 #C94BAE
triadic
#A54BC9 #C9A54B #4BC9A5
tetradic
#A54BC9 #C9664B #6FC94B #4BAEC9
square
#A54BC9 #C9664B #6FC94B #4BAEC9
split-complementary
#A54BC9 #AEC94B #4BC966
monochromatic
#5F2376 #8432A5 #A54BC9 #BD7AD7 #D4A9E5

Accessibility & contrast

On white

4.72
#A54BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A54BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BC9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BC9#FFFFFF#000000##FFFFFF
##A54BC91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6ECD
Deuteranopia (green-blind)
#4876C6
Tritanopia (blue-blind)
#A26283
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54bc9;
/* rgb */ color: rgb(165, 75, 201);
/* oklch */ color: oklch(58.1% 0.198 315.0);
Tailwind
colors: {
  custom: {
    50: '#c383da',
    500: '#a54bc9',
    950: '#000000',
  },
}
SCSS
$custom: #a54bc9;
$custom-light: #c383da;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bc9",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.19803,
    "h": 315
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#A54BC9
secondary
#ACD39D
accent
#DD4B74
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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