#A54FD9#A54FD9

#A54FD9 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.209 H 310.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54FD9
RGBrgb(165, 79, 217)
HSLhsl(277, 64%, 58%)
HSVhsv(277, 64%, 85%)
CMYKcmyk(24%, 63.6%, 0%, 14.9%)
CIE-LABlab(50.22, 58.14, -56.45)
CIE-LCHlch(50.22, 81.03, 315.85°)
OKLaboklab(59.61% 0.1348 -0.1592)
OKLCHoklch(59.61% 0.209 310.2)
XYZxyz(30.8350, 18.6017, 67.5983)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FD9 #83D94F
analogous
#604FD9 #A54FD9 #D94FC8
triadic
#A54FD9 #D9A54F #4FD9A5
tetradic
#A54FD9 #D9604F #83D94F #4FC8D9
square
#A54FD9 #D9604F #83D94F #4FC8D9
split-complementary
#A54FD9 #C8D94F #4FD960
monochromatic
#651F8F #882AC1 #A54FD9 #BF81E4 #D8B4EF

Accessibility & contrast

On white

4.45
#A54FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A54FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FD9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FD9#FFFFFF#000000##000000
##A54FD91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#9E6B8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54fd9;
/* rgb */ color: rgb(165, 79, 217);
/* oklch */ color: oklch(59.6% 0.209 310.2);
Tailwind
colors: {
  custom: {
    50: '#c385e5',
    500: '#a54fd9',
    950: '#000000',
  },
}
SCSS
$custom: #a54fd9;
$custom-light: #c385e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fd9",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 277.391,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.20861,
    "h": 310.2
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#A54FD9
secondary
#BBDDA6
accent
#E7407F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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