#A54FDA#A54FDA

#A54FDA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.210 H 310.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A54FDA
RGBrgb(165, 79, 218)
HSLhsl(277, 65%, 58%)
HSVhsv(277, 64%, 85%)
CMYKcmyk(24.3%, 63.8%, 0%, 14.5%)
CIE-LABlab(50.28, 58.36, -56.92)
CIE-LCHlch(50.28, 81.52, 315.72°)
OKLaboklab(59.67% 0.1347 -0.1606)
OKLCHoklch(59.67% 0.21 310)
XYZxyz(30.9655, 18.6539, 68.2854)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FDA #84DA4F
analogous
#5F4FDA #A54FDA #DA4FCA
triadic
#A54FDA #DAA54F #4FDAA5
tetradic
#A54FDA #DA5F4F #84DA4F #4FCADA
square
#A54FDA #DA5F4F #84DA4F #4FCADA
split-complementary
#A54FDA #CADA4F #4FDA5F
monochromatic
#651E90 #8829C3 #A54FDA #BF82E5 #D9B4EF

Accessibility & contrast

On white

4.44
#A54FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A54FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FDA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FDA#FFFFFF#000000##000000
##A54FDA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#9E6B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54fda;
/* rgb */ color: rgb(165, 79, 218);
/* oklch */ color: oklch(59.7% 0.210 310.0);
Tailwind
colors: {
  custom: {
    50: '#c485e6',
    500: '#a54fda',
    950: '#000000',
  },
}
SCSS
$custom: #a54fda;
$custom-light: #c485e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fda",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 277.122,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.20964,
    "h": 310
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#A54FDA
secondary
#BCDEA7
accent
#E84080
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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