#A54FE6#A54FE6

#A54FE6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.222 H 307.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A54FE6
RGBrgb(165, 79, 230)
HSLhsl(274, 75%, 61%)
HSVhsv(274, 66%, 90%)
CMYKcmyk(28.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(51.04, 61.00, -62.49)
CIE-LCHlch(51.04, 87.32, 314.31°)
OKLaboklab(60.46% 0.1339 -0.177)
OKLCHoklch(60.46% 0.222 307.1)
XYZxyz(32.5929, 19.3049, 76.8568)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE6 #90E64F
analogous
#594FE6 #A54FE6 #E64FDB
triadic
#A54FE6 #E6A54F #4FE6A5
tetradic
#A54FE6 #E6594F #90E64F #4FDBE6
square
#A54FE6 #E6594F #90E64F #4FDBE6
split-complementary
#A54FE6 #DBE64F #4FE659
monochromatic
#6717A3 #891FD9 #A54FE6 #C085EE #DCBAF5

Accessibility & contrast

On white

4.32
#A54FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A54FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE6#FFFFFF#000000##000000
##A54FE61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#9A6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54fe6;
/* rgb */ color: rgb(165, 79, 230);
/* oklch */ color: oklch(60.5% 0.222 307.1);
Tailwind
colors: {
  custom: {
    50: '#c486ef',
    500: '#a54fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe6;
$custom-light: #c486ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe6",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 274.172,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60462,
    "c": 0.2219,
    "h": 307.1
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#A54FE6
secondary
#C4E5AC
accent
#D70E65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A54FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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