Magenta

#A31DFC

Purple

Color Codes

All color formats for development

HEX
#A31DFC
RGB
rgb(163, 29, 252)
HSL
hsl(276, 97%, 55%)
OKLCH
oklch(0.578 0.286 305)
CMYK
cmyk(35%, 88%, 0%, 1%)

Accessibility

WCAG contrast compliance

On White Background

5.07:1

AA AAA

On Black Background

4.14:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F1DC
200
#E4BE
300
#D08B
400
#B74F
500
#A31D
600
#8603
700
#6B03
800
#4C02
900
#3101
950
#1E01

Shades

Darker variations

1#9704F9
2#8603DD
3#7503C1
4#6403A6
5#54028A
6#43026F
7#320153
8#210137
9#11001C

Tints

Lighter variations

1#AC34FC
2#B54AFC
3#BE61FD
4#C877FD
5#D18EFD
6#DAA5FE
7#E3BBFE
8#EDD2FE
9#F6E8FF

Tones

Muted variations

1#A028F0
2#9E33E5
3#9C3EDA
4#9A49CF
5#9755C4
6#9560B9
7#936BAE
8#9176A3
9#8E8197

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
E4BE
#E4BEFE
Secondary backgroundsInput backgroundsDividers
300
D08B
#D08BFD
BordersInactive statesPlaceholder text
400
B74F
#B74FFC
Disabled statesSecondary iconsMuted text
500
A31D
#A31DFC
Primary brand colorCTAsActive elementsLinks
600
8603
#8603DD
Hover statesFocus ringsPrimary buttons hover
700
6B03
#6B03B0
Active/pressed statesDark mode accentsSecondary text
800
4C02
#4C027E
Text on light backgroundsHeadingsStrong borders
900
3101
#310150
Primary textHigh emphasis contentDark headings
950
1E01
#1E0132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F9F0FF;
  --magenta-100: #F1DCFE;
  --magenta-200: #E4BEFE;
  --magenta-300: #D08BFD;
  --magenta-400: #B74FFC;
  --magenta-500: #A31DFC;
  --magenta-600: #8603DD;
  --magenta-700: #6B03B0;
  --magenta-800: #4C027E;
  --magenta-900: #310150;
  --magenta-950: #1E0132;
}
Generate More ShadesCreate PaletteConvert Color