Magenta

#A520F8

Purple

Color Codes

All color formats for development

HEX
#A520F8
RGB
rgb(165, 32, 248)
HSL
hsl(277, 94%, 55%)
OKLCH
oklch(0.578 0.282 306.3)
CMYK
cmyk(33%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

5.05:1

AA AAA

On Black Background

4.16:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F1DC
200
#E5BF
300
#D18D
400
#B952
500
#A520
600
#8907
700
#6D05
800
#4E04
900
#3202
950
#1F02

Shades

Darker variations

1#9A08F5
2#8907DA
3#7806BE
4#6705A3
5#560488
6#44036D
7#330352
8#220236
9#11011B

Tints

Lighter variations

1#AE37F9
2#B74DF9
3#C063FA
4#C979FB
5#D290FC
6#DBA6FC
7#E4BCFD
8#EDD2FE
9#F6E9FE

Tones

Muted variations

1#A32BED
2#A036E3
3#9E41D8
4#9B4CCD
5#9956C2
6#9661B7
7#946CAD
8#9177A2
9#8F8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F0
#F9F0FF
BackgroundsSubtle highlightsCard backgrounds
100
F1DC
#F1DCFE
Light backgroundsTable row hoverSkeleton loading
200
E5BF
#E5BFFD
Secondary backgroundsInput backgroundsDividers
300
D18D
#D18DFB
BordersInactive statesPlaceholder text
400
B952
#B952FA
Disabled statesSecondary iconsMuted text
500
A520
#A520F8
Primary brand colorCTAsActive elementsLinks
600
8907
#8907DA
Hover statesFocus ringsPrimary buttons hover
700
6D05
#6D05AD
Active/pressed statesDark mode accentsSecondary text
800
4E04
#4E047C
Text on light backgroundsHeadingsStrong borders
900
3202
#32024F
Primary textHigh emphasis contentDark headings
950
1F02
#1F0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F9F0FF;
  --magenta-100: #F1DCFE;
  --magenta-200: #E5BFFD;
  --magenta-300: #D18DFB;
  --magenta-400: #B952FA;
  --magenta-500: #A520F8;
  --magenta-600: #8907DA;
  --magenta-700: #6D05AD;
  --magenta-800: #4E047C;
  --magenta-900: #32024F;
  --magenta-950: #1F0231;
}
Generate More ShadesCreate PaletteConvert Color