#A54BE3#A54BE3

#A54BE3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.224 H 308.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54BE3
RGBrgb(165, 75, 227)
HSLhsl(276, 73%, 59%)
HSVhsv(276, 67%, 89%)
CMYKcmyk(27.3%, 67%, 0%, 11%)
CIE-LABlab(50.19, 62.16, -62.17)
CIE-LCHlch(50.19, 87.91, 314.99°)
OKLaboklab(59.79% 0.1385 -0.176)
OKLCHoklch(59.79% 0.224 308.2)
XYZxyz(31.8954, 18.5780, 74.5638)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BE3 #89E34B
analogous
#594BE3 #A54BE3 #E34BD5
triadic
#A54BE3 #E3A54B #4BE3A5
tetradic
#A54BE3 #E3594B #89E34B #4BD5E3
square
#A54BE3 #E3594B #89E34B #4BD5E3
split-complementary
#A54BE3 #D5E34B #4BE359
monochromatic
#66189B #8920D0 #A54BE3 #BF80EB #DAB5F3

Accessibility & contrast

On white

4.45
#A54BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A54BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BE3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BE3#FFFFFF#000000##000000
##A54BE31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#9B6C91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54be3;
/* rgb */ color: rgb(165, 75, 227);
/* oklch */ color: oklch(59.8% 0.224 308.2);
Tailwind
colors: {
  custom: {
    50: '#c483ed',
    500: '#a54be3',
    950: '#000000',
  },
}
SCSS
$custom: #a54be3;
$custom-light: #c483ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54be3",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 275.526,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.22394,
    "h": 308.2
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#A54BE3
secondary
#BFE3A7
accent
#F03883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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