#A54FD2#A54FD2

#A54FD2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.201 H 312.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A54FD2
RGBrgb(165, 79, 210)
HSLhsl(279, 59%, 57%)
HSVhsv(279, 62%, 82%)
CMYKcmyk(21.4%, 62.4%, 0%, 17.6%)
CIE-LABlab(49.79, 56.63, -53.14)
CIE-LCHlch(49.79, 77.66, 316.82°)
OKLaboklab(59.16% 0.135 -0.1495)
OKLCHoklch(59.16% 0.201 312.1)
XYZxyz(29.9438, 18.2452, 62.9046)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FD2 #7CD24F
analogous
#644FD2 #A54FD2 #D24FBE
triadic
#A54FD2 #D2A54F #4FD2A5
tetradic
#A54FD2 #D2644F #7CD24F #4FBED2
square
#A54FD2 #D2644F #7CD24F #4FBED2
split-complementary
#A54FD2 #BED24F #4FD264
monochromatic
#632285 #872EB5 #A54FD2 #BE80DE #D7B0EB

Accessibility & contrast

On white

4.52
#A54FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A54FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FD2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FD2#FFFFFF#000000##000000
##A54FD21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#A06889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54fd2;
/* rgb */ color: rgb(165, 79, 210);
/* oklch */ color: oklch(59.2% 0.201 312.1);
Tailwind
colors: {
  custom: {
    50: '#c385e0',
    500: '#a54fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a54fd2;
$custom-light: #c385e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fd2",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 279.389,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.20148,
    "h": 312.1
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#A54FD2
secondary
#B6D9A4
accent
#E2457B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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