#A54FE0#A54FE0

#A54FE0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.216 H 308.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A54FE0
RGBrgb(165, 79, 224)
HSLhsl(276, 70%, 59%)
HSVhsv(276, 65%, 88%)
CMYKcmyk(26.3%, 64.7%, 0%, 12.2%)
CIE-LABlab(50.66, 59.67, -59.72)
CIE-LCHlch(50.66, 84.42, 314.98°)
OKLaboklab(60.06% 0.1344 -0.1688)
OKLCHoklch(60.06% 0.216 308.5)
XYZxyz(31.7649, 18.9736, 72.4955)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FE0 #8AE04F
analogous
#5D4FE0 #A54FE0 #E04FD3
triadic
#A54FE0 #E0A54F #4FE0A5
tetradic
#A54FE0 #E05D4F #8AE04F #4FD3E0
square
#A54FE0 #E05D4F #8AE04F #4FD3E0
split-complementary
#A54FE0 #D3E04F #4FE05D
monochromatic
#661B9A #8924CE #A54FE0 #C083E9 #DAB7F2

Accessibility & contrast

On white

4.38
#A54FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A54FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FE0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FE0#FFFFFF#000000##000000
##A54FE01.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#357ADD
Tritanopia (blue-blind)
#9C6D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54fe0;
/* rgb */ color: rgb(165, 79, 224);
/* oklch */ color: oklch(60.1% 0.216 308.5);
Tailwind
colors: {
  custom: {
    50: '#c486ea',
    500: '#a54fe0',
    950: '#000000',
  },
}
SCSS
$custom: #a54fe0;
$custom-light: #c486ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fe0",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 275.586,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.21577,
    "h": 308.5
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#A54FE0
secondary
#C0E2A9
accent
#ED3B83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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