#A54CB7#A54CB7

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

Color values

HEX#A54CB7
RGBrgb(165, 76, 183)
HSLhsl(290, 43%, 51%)
HSVhsv(290, 58%, 72%)
CMYKcmyk(9.8%, 58.5%, 0%, 28.2%)
CIE-LABlab(47.74, 52.52, -40.82)
CIE-LCHlch(47.74, 66.52, 322.15°)
OKLaboklab(57.17% 0.1383 -0.1135)
OKLCHoklch(57.17% 0.179 320.6)
XYZxyz(26.6477, 16.5883, 46.5888)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CB7 #5EB74C
analogous
#704CB7 #A54CB7 #B74C93
triadic
#A54CB7 #B7A54C #4CB7A5
tetradic
#A54CB7 #B7704C #5EB74C #4C93B7
square
#A54CB7 #B7704C #5EB74C #4C93B7
split-complementary
#A54CB7 #93B74C #4CB770
monochromatic
#582761 #7F398D #A54CB7 #BB78C9 #D1A3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54CB7#FFFFFF#000000##FFFFFF
##A54CB71.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)
#366BBA
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#A65C7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a54cb7;
/* rgb */ color: rgb(165, 76, 183);
/* oklch */ color: oklch(57.2% 0.179 320.6);
Tailwind
colors: {
  custom: {
    50: '#c283cd',
    500: '#a54cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a54cb7;
$custom-light: #c283cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cb7",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 289.907,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.17894,
    "h": 320.6
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#A54CB7
secondary
#A0C798
accent
#D2556A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A54CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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