#A54FD3#A54FD3

#A54FD3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.203 H 311.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A54FD3
RGBrgb(165, 79, 211)
HSLhsl(279, 60%, 57%)
HSVhsv(279, 63%, 83%)
CMYKcmyk(21.8%, 62.6%, 0%, 17.3%)
CIE-LABlab(49.85, 56.85, -53.61)
CIE-LCHlch(49.85, 78.14, 316.68°)
OKLaboklab(59.22% 0.135 -0.1509)
OKLCHoklch(59.22% 0.203 311.8)
XYZxyz(30.0688, 18.2952, 63.5627)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FD3 #7DD34F
analogous
#634FD3 #A54FD3 #D34FBF
triadic
#A54FD3 #D3A54F #4FD3A5
tetradic
#A54FD3 #D3634F #7DD34F #4FBFD3
square
#A54FD3 #D3634F #7DD34F #4FBFD3
split-complementary
#A54FD3 #BFD34F #4FD363
monochromatic
#632286 #872EB7 #A54FD3 #BE80DF #D7B1EB

Accessibility & contrast

On white

4.51
#A54FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A54FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FD3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FD3#FFFFFF#000000##000000
##A54FD31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1272D7
Deuteranopia (green-blind)
#4478D0
Tritanopia (blue-blind)
#A0688A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54fd3;
/* rgb */ color: rgb(165, 79, 211);
/* oklch */ color: oklch(59.2% 0.203 311.8);
Tailwind
colors: {
  custom: {
    50: '#c385e1',
    500: '#a54fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a54fd3;
$custom-light: #c385e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fd3",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 279.091,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.2025,
    "h": 311.8
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#A54FD3
secondary
#B7DAA4
accent
#E3457C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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