#A54BE4#A54BE4

#A54BE4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.225 H 308.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A54BE4
RGBrgb(165, 75, 228)
HSLhsl(275, 74%, 59%)
HSVhsv(275, 67%, 89%)
CMYKcmyk(27.6%, 67.1%, 0%, 10.6%)
CIE-LABlab(50.26, 62.37, -62.63)
CIE-LCHlch(50.26, 88.39, 314.88°)
OKLaboklab(59.86% 0.1384 -0.1773)
OKLCHoklch(59.86% 0.225 308)
XYZxyz(32.0338, 18.6334, 75.2928)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BE4 #8AE44B
analogous
#594BE4 #A54BE4 #E44BD7
triadic
#A54BE4 #E4A54B #4BE4A5
tetradic
#A54BE4 #E4594B #8AE44B #4BD7E4
square
#A54BE4 #E4594B #8AE44B #4BD7E4
split-complementary
#A54BE4 #D7E44B #4BE459
monochromatic
#66189D #8920D2 #A54BE4 #C080EC #DAB5F4

Accessibility & contrast

On white

4.44
#A54BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A54BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BE4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BE4#FFFFFF#000000##000000
##A54BE41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#2978E1
Tritanopia (blue-blind)
#9B6C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54be4;
/* rgb */ color: rgb(165, 75, 228);
/* oklch */ color: oklch(59.9% 0.225 308.0);
Tailwind
colors: {
  custom: {
    50: '#c483ed',
    500: '#a54be4',
    950: '#000000',
  },
}
SCSS
$custom: #a54be4;
$custom-light: #c483ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54be4",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 275.294,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.22494,
    "h": 308
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#A54BE4
secondary
#C0E3A8
accent
#F13784
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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