Magenta

#A21FF9

Purple

Color Codes

All color formats for development

HEX
#A21FF9
RGB
rgb(162, 31, 249)
HSL
hsl(276, 95%, 55%)
OKLCH
oklch(0.575 0.282 305.2)
CMYK
cmyk(35%, 88%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

5.12:1

AA AAA

On Black Background

4.10:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F1DC
200
#E4BE
300
#CF8D
400
#B751
500
#A21F
600
#8606
700
#6A04
800
#4C03
900
#3102
950
#1E01

Shades

Darker variations

1#9606F6
2#8606DB
3#7505BF
4#6404A4
5#530489
6#43036D
7#320252
8#210137
9#11011B

Tints

Lighter variations

1#AB36FA
2#B54CFA
3#BE62FB
4#C779FC
5#D18FFC
6#DAA5FD
7#E3BCFD
8#ECD2FE
9#F6E9FE

Tones

Muted variations

1#A02AEE
2#9E35E3
3#9C40D9
4#994BCE
5#9756C3
6#9561B8
7#936CAD
8#9176A2
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
#E4BEFD
Secondary backgroundsInput backgroundsDividers
300
CF8D
#CF8DFC
BordersInactive statesPlaceholder text
400
B751
#B751FB
Disabled statesSecondary iconsMuted text
500
A21F
#A21FF9
Primary brand colorCTAsActive elementsLinks
600
8606
#8606DB
Hover statesFocus ringsPrimary buttons hover
700
6A04
#6A04AE
Active/pressed statesDark mode accentsSecondary text
800
4C03
#4C037C
Text on light backgroundsHeadingsStrong borders
900
3102
#310250
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: #E4BEFD;
  --magenta-300: #CF8DFC;
  --magenta-400: #B751FB;
  --magenta-500: #A21FF9;
  --magenta-600: #8606DB;
  --magenta-700: #6A04AE;
  --magenta-800: #4C037C;
  --magenta-900: #310250;
  --magenta-950: #1E0132;
}
Generate More ShadesCreate PaletteConvert Color