#A54FC2#A54FC2

#A54FC2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.185 H 316.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A54FC2
RGBrgb(165, 79, 194)
HSLhsl(285, 49%, 54%)
HSVhsv(285, 59%, 76%)
CMYKcmyk(14.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(48.87, 53.28, -45.41)
CIE-LCHlch(48.87, 70.01, 319.56°)
OKLaboklab(58.19% 0.135 -0.1269)
OKLCHoklch(58.19% 0.185 316.8)
XYZxyz(28.0492, 17.4874, 52.9263)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FC2 #6CC24F
analogous
#6B4FC2 #A54FC2 #C24FA5
triadic
#A54FC2 #C2A54F #4FC2A5
tetradic
#A54FC2 #C26B4F #6CC24F #4FA5C2
square
#A54FC2 #C26B4F #6CC24F #4FA5C2
split-complementary
#A54FC2 #A5C24F #4FC26B
monochromatic
#5D2770 #83379D #A54FC2 #BC7CD2 #D3AAE2

Accessibility & contrast

On white

4.67
#A54FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A54FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54FC2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FC2#FFFFFF#000000##FFFFFF
##A54FC21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#A46281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54fc2;
/* rgb */ color: rgb(165, 79, 194);
/* oklch */ color: oklch(58.2% 0.185 316.8);
Tailwind
colors: {
  custom: {
    50: '#c285d5',
    500: '#a54fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a54fc2;
$custom-light: #c285d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fc2",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 284.87,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.18529,
    "h": 316.8
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#A54FC2
secondary
#AACF9E
accent
#D85072
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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