#A54FBE#A54FBE

#A54FBE is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.181 H 318.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A54FBE
RGBrgb(165, 79, 190)
HSLhsl(286, 46%, 53%)
HSVhsv(286, 58%, 75%)
CMYKcmyk(13.2%, 58.4%, 0%, 25.5%)
CIE-LABlab(48.65, 52.47, -43.44)
CIE-LCHlch(48.65, 68.12, 320.37°)
OKLaboklab(57.96% 0.1348 -0.1212)
OKLCHoklch(57.96% 0.181 318)
XYZxyz(27.6060, 17.3101, 50.5922)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FBE #68BE4F
analogous
#6D4FBE #A54FBE #BE4FA0
triadic
#A54FBE #BEA54F #4FBEA5
tetradic
#A54FBE #BE6D4F #68BE4F #4FA0BE
square
#A54FBE #BE6D4F #68BE4F #4FA0BE
split-complementary
#A54FBE #A0BE4F #4FBE6D
monochromatic
#5C286B #823898 #A54FBE #BC7CCF #D3A8DF

Accessibility & contrast

On white

4.71
#A54FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A54FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FBE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FBE#FFFFFF#000000##FFFFFF
##A54FBE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#A5617F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54fbe;
/* rgb */ color: rgb(165, 79, 190);
/* oklch */ color: oklch(58.0% 0.181 318.0);
Tailwind
colors: {
  custom: {
    50: '#c285d2',
    500: '#a54fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a54fbe;
$custom-light: #c285d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fbe",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 286.486,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.1813,
    "h": 318
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#A54FBE
secondary
#A7CC9C
accent
#D65270
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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