Magenta

#A31AFF

Purple

Color Codes

All color formats for development

HEX
#A31AFF
RGB
rgb(163, 26, 255)
HSL
hsl(276, 100%, 55%)
OKLCH
oklch(0.579 0.29 304.5)
CMYK
cmyk(36%, 90%, 0%, 0%)

Accessibility

WCAG contrast compliance

On White Background

5.06:1

AA AAA

On Black Background

4.15:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F1DB
200
#E4BD
300
#D08A
400
#B84D
500
#A31A
600
#8700
700
#6B00
800
#4C00
900
#3100
950
#1F00

Shades

Darker variations

1#9700FC
2#8700E0
3#7600C4
4#6500A8
5#54008C
6#430070
7#320054
8#220038
9#11001C

Tints

Lighter variations

1#AC30FF
2#B647FF
3#BF5EFF
4#C875FF
5#D18CFF
6#DAA3FF
7#E3BAFF
8#EDD1FF
9#F6E8FF

Tones

Muted variations

1#A125F4
2#9F30E8
3#9C3CDD
4#9A47D1
5#9853C6
6#955EBA
7#936AAF
8#9175A3
9#8F8198

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F0
#F9F0FF
BackgroundsSubtle highlightsCard backgrounds
100
F1DB
#F1DBFF
Light backgroundsTable row hoverSkeleton loading
200
E4BD
#E4BDFF
Secondary backgroundsInput backgroundsDividers
300
D08A
#D08AFF
BordersInactive statesPlaceholder text
400
B84D
#B84DFF
Disabled statesSecondary iconsMuted text
500
A31A
#A31AFF
Primary brand colorCTAsActive elementsLinks
600
8700
#8700E0
Hover statesFocus ringsPrimary buttons hover
700
6B00
#6B00B3
Active/pressed statesDark mode accentsSecondary text
800
4C00
#4C0080
Text on light backgroundsHeadingsStrong borders
900
3100
#310052
Primary textHigh emphasis contentDark headings
950
1F00
#1F0033
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F9F0FF;
  --magenta-100: #F1DBFF;
  --magenta-200: #E4BDFF;
  --magenta-300: #D08AFF;
  --magenta-400: #B84DFF;
  --magenta-500: #A31AFF;
  --magenta-600: #8700E0;
  --magenta-700: #6B00B3;
  --magenta-800: #4C0080;
  --magenta-900: #310052;
  --magenta-950: #1F0033;
}
Generate More ShadesCreate PaletteConvert Color