#A54BE9#A54BE9

#A54BE9 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.2% C 0.230 H 306.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A54BE9
RGBrgb(165, 75, 233)
HSLhsl(274, 78%, 60%)
HSVhsv(274, 68%, 91%)
CMYKcmyk(29.2%, 67.8%, 0%, 8.6%)
CIE-LABlab(50.59, 63.47, -64.91)
CIE-LCHlch(50.59, 90.79, 314.36°)
OKLaboklab(60.2% 0.1378 -0.1841)
OKLCHoklch(60.2% 0.23 306.8)
XYZxyz(32.7380, 18.9150, 79.0013)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BE9 #8FE94B
analogous
#564BE9 #A54BE9 #E94BDE
triadic
#A54BE9 #E9A54B #4BE9A5
tetradic
#A54BE9 #E9564B #8FE94B #4BDEE9
square
#A54BE9 #E9564B #8FE94B #4BDEE9
split-complementary
#A54BE9 #DEE94B #4BE956
monochromatic
#6714A5 #891BDC #A54BE9 #C082F0 #DCB8F6

Accessibility & contrast

On white

4.39
#A54BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A54BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BE9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BE9#FFFFFF#000000##000000
##A54BE91.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#1E79E6
Tritanopia (blue-blind)
#9A6E94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54be9;
/* rgb */ color: rgb(165, 75, 233);
/* oklch */ color: oklch(60.2% 0.230 306.8);
Tailwind
colors: {
  custom: {
    50: '#c584f1',
    500: '#a54be9',
    950: '#000000',
  },
}
SCSS
$custom: #a54be9;
$custom-light: #c584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54be9",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 274.177,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.22993,
    "h": 306.8
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#A54BE9
secondary
#C4E6AA
accent
#DA0B64
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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