Magenta

#9B1FF9

Purple

Color Codes

All color formats for development

HEX
#9B1FF9
RGB
rgb(155, 31, 249)
HSL
hsl(274, 95%, 55%)
OKLCH
oklch(0.566 0.281 303)
CMYK
cmyk(38%, 88%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

5.31:1

AA AAA

On Black Background

3.96:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F8F0
100
#EFDC
200
#E2BE
300
#CC8D
400
#B151
500
#9B1F
600
#7E06
700
#6504
800
#4803
900
#2E02
950
#1D01

Shades

Darker variations

1#8E06F6
2#7E06DB
3#6F05BF
4#5F04A4
5#4F0489
6#3F036D
7#2F0252
8#200137
9#10011B

Tints

Lighter variations

1#A536FA
2#AF4CFA
3#B962FB
4#C379FC
5#CD8FFC
6#D7A5FD
7#E1BCFD
8#EBD2FE
9#F5E9FE

Tones

Muted variations

1#992AEE
2#9835E3
3#9640D9
4#954BCE
5#9456C3
6#9261B8
7#916CAD
8#8F76A2
9#8E8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F8F0
#F8F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EFDC
#EFDCFE
Light backgroundsTable row hoverSkeleton loading
200
E2BE
#E2BEFD
Secondary backgroundsInput backgroundsDividers
300
CC8D
#CC8DFC
BordersInactive statesPlaceholder text
400
B151
#B151FB
Disabled statesSecondary iconsMuted text
500
9B1F
#9B1FF9
Primary brand colorCTAsActive elementsLinks
600
7E06
#7E06DB
Hover statesFocus ringsPrimary buttons hover
700
6504
#6504AE
Active/pressed statesDark mode accentsSecondary text
800
4803
#48037C
Text on light backgroundsHeadingsStrong borders
900
2E02
#2E0250
Primary textHigh emphasis contentDark headings
950
1D01
#1D0132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F8F0FF;
  --magenta-100: #EFDCFE;
  --magenta-200: #E2BEFD;
  --magenta-300: #CC8DFC;
  --magenta-400: #B151FB;
  --magenta-500: #9B1FF9;
  --magenta-600: #7E06DB;
  --magenta-700: #6504AE;
  --magenta-800: #48037C;
  --magenta-900: #2E0250;
  --magenta-950: #1D0132;
}
Generate More ShadesCreate PaletteConvert Color