#A54BCB#A54BCB

#A54BCB is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.2% C 0.200 H 314.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A54BCB
RGBrgb(165, 75, 203)
HSLhsl(282, 55%, 55%)
HSVhsv(282, 63%, 80%)
CMYKcmyk(18.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(48.69, 57.03, -50.89)
CIE-LCHlch(48.69, 76.43, 318.26°)
OKLaboklab(58.23% 0.1399 -0.1429)
OKLCHoklch(58.23% 0.2 314.4)
XYZxyz(28.8108, 17.3442, 58.3184)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BCB #71CB4B
analogous
#654BCB #A54BCB #CB4BB1
triadic
#A54BCB #CBA54B #4BCBA5
tetradic
#A54BCB #CB654B #71CB4B #4BB1CB
square
#A54BCB #CB654B #71CB4B #4BB1CB
split-complementary
#A54BCB #B1CB4B #4BCB65
monochromatic
#5F2379 #8531A8 #A54BCB #BD7AD9 #D4AAE6

Accessibility & contrast

On white

4.70
#A54BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A54BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BCB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BCB#FFFFFF#000000##FFFFFF
##A54BCB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#A26384
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54bcb;
/* rgb */ color: rgb(165, 75, 203);
/* oklch */ color: oklch(58.2% 0.200 314.4);
Tailwind
colors: {
  custom: {
    50: '#c383db',
    500: '#a54bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a54bcb;
$custom-light: #c383db;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bcb",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 282.188,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.2,
    "h": 314.4
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#A54BCB
secondary
#AED49E
accent
#DF4976
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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