#A54BE8#A54BE8

#A54BE8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.229 H 307.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A54BE8
RGBrgb(165, 75, 232)
HSLhsl(274, 77%, 60%)
HSVhsv(274, 68%, 91%)
CMYKcmyk(28.9%, 67.7%, 0%, 9%)
CIE-LABlab(50.52, 63.25, -64.45)
CIE-LCHlch(50.52, 90.31, 314.46°)
OKLaboklab(60.13% 0.1379 -0.1827)
OKLCHoklch(60.13% 0.229 307)
XYZxyz(32.5955, 18.8581, 78.2511)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BE8 #8EE84B
analogous
#564BE8 #A54BE8 #E84BDC
triadic
#A54BE8 #E8A54B #4BE8A5
tetradic
#A54BE8 #E8564B #8EE84B #4BDCE8
square
#A54BE8 #E8564B #8EE84B #4BDCE8
split-complementary
#A54BE8 #DCE84B #4BE856
monochromatic
#6715A4 #891CDA #A54BE8 #C081EF #DBB8F6

Accessibility & contrast

On white

4.40
#A54BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A54BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BE8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BE8#FFFFFF#000000##000000
##A54BE81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#2079E5
Tritanopia (blue-blind)
#9A6E94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54be8;
/* rgb */ color: rgb(165, 75, 232);
/* oklch */ color: oklch(60.1% 0.229 307.0);
Tailwind
colors: {
  custom: {
    50: '#c584f0',
    500: '#a54be8',
    950: '#000000',
  },
}
SCSS
$custom: #a54be8;
$custom-light: #c584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54be8",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 274.395,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.22893,
    "h": 307
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#A54BE8
secondary
#C3E6A9
accent
#DA0C64
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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