#A54DE8#A54DE8

#A54DE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.226 H 306.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A54DE8
RGBrgb(165, 77, 232)
HSLhsl(274, 77%, 61%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(28.9%, 66.8%, 0%, 9%)
CIE-LABlab(50.84, 62.35, -63.93)
CIE-LCHlch(50.84, 89.31, 314.28°)
OKLaboklab(60.36% 0.1358 -0.1812)
OKLCHoklch(60.36% 0.226 306.9)
XYZxyz(32.7333, 19.1337, 78.2970)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE8 #90E84D
analogous
#584DE8 #A54DE8 #E84DDD
triadic
#A54DE8 #E8A54D #4DE8A5
tetradic
#A54DE8 #E8584D #90E84D #4DDDE8
square
#A54DE8 #E8584D #90E84D #4DDDE8
split-complementary
#A54DE8 #DDE84D #4DE858
monochromatic
#6715A5 #891CDB #A54DE8 #C083EF #DCB9F6

Accessibility & contrast

On white

4.35
#A54DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A54DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE8#FFFFFF#000000##000000
##A54DE81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#9A6F94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54de8;
/* rgb */ color: rgb(165, 77, 232);
/* oklch */ color: oklch(60.4% 0.226 306.9);
Tailwind
colors: {
  custom: {
    50: '#c485f0',
    500: '#a54de8',
    950: '#000000',
  },
}
SCSS
$custom: #a54de8;
$custom-light: #c485f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de8",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 274.065,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.22646,
    "h": 306.9
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#A54DE8
secondary
#C4E6AB
accent
#D90C65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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