#A54BD7#A54BD7

#A54BD7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.212 H 311.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A54BD7
RGBrgb(165, 75, 215)
HSLhsl(279, 64%, 57%)
HSVhsv(279, 65%, 84%)
CMYKcmyk(23.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(49.42, 59.56, -56.59)
CIE-LCHlch(49.42, 82.16, 316.47°)
OKLaboklab(58.99% 0.1394 -0.1596)
OKLCHoklch(58.99% 0.212 311.1)
XYZxyz(30.2966, 17.9385, 66.1433)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BD7 #7DD74B
analogous
#5F4BD7 #A54BD7 #D74BC3
triadic
#A54BD7 #D7A54B #4BD7A5
tetradic
#A54BD7 #D75F4B #7DD74B #4BC3D7
square
#A54BD7 #D75F4B #7DD74B #4BC3D7
split-complementary
#A54BD7 #C3D74B #4BD75F
monochromatic
#631E89 #872ABB #A54BD7 #BE7DE2 #D7AFED

Accessibility & contrast

On white

4.58
#A54BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A54BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54BD7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BD7#FFFFFF#000000##000000
##A54BD71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3B77D4
Tritanopia (blue-blind)
#9F678B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54bd7;
/* rgb */ color: rgb(165, 75, 215);
/* oklch */ color: oklch(59.0% 0.212 311.1);
Tailwind
colors: {
  custom: {
    50: '#c483e4',
    500: '#a54bd7',
    950: '#000000',
  },
}
SCSS
$custom: #a54bd7;
$custom-light: #c483e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bd7",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 278.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.21194,
    "h": 311.1
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#A54BD7
secondary
#B7DBA2
accent
#E7417C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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