Magenta

#B226F2

Purple

Color Codes

All color formats for development

HEX
#B226F2
RGB
rgb(178, 38, 242)
HSL
hsl(281, 89%, 55%)
OKLCH
oklch(0.594 0.276 311.3)
CMYK
cmyk(26%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

4.72:1

AA AAA

On Black Background

4.45:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FAF1
100
#F3DD
200
#E9C0
300
#D790
400
#C356
500
#B226
600
#950C
700
#760A
800
#5507
900
#3604
950
#2203

Shades

Darker variations

1#A70EEF
2#950CD4
3#820BBA
4#70099F
5#5D0885
6#4A066A
7#380550
8#250335
9#13021B

Tints

Lighter variations

1#B93CF4
2#C151F5
3#C967F6
4#D17DF7
5#D893F9
6#E0A8FA
7#E8BEFB
8#F0D4FC
9#F7E9FE

Tones

Muted variations

1#AE30E8
2#AA3BDE
3#A645D4
4#A34FCA
5#9F59BF
6#9B63B5
7#976EAB
8#9478A1
9#908296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FAF1
#FAF1FE
BackgroundsSubtle highlightsCard backgrounds
100
F3DD
#F3DDFD
Light backgroundsTable row hoverSkeleton loading
200
E9C0
#E9C0FB
Secondary backgroundsInput backgroundsDividers
300
D790
#D790F9
BordersInactive statesPlaceholder text
400
C356
#C356F5
Disabled statesSecondary iconsMuted text
500
B226
#B226F2
Primary brand colorCTAsActive elementsLinks
600
950C
#950CD4
Hover statesFocus ringsPrimary buttons hover
700
760A
#760AA9
Active/pressed statesDark mode accentsSecondary text
800
5507
#550778
Text on light backgroundsHeadingsStrong borders
900
3604
#36044D
Primary textHigh emphasis contentDark headings
950
2203
#220330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #FAF1FE;
  --magenta-100: #F3DDFD;
  --magenta-200: #E9C0FB;
  --magenta-300: #D790F9;
  --magenta-400: #C356F5;
  --magenta-500: #B226F2;
  --magenta-600: #950CD4;
  --magenta-700: #760AA9;
  --magenta-800: #550778;
  --magenta-900: #36044D;
  --magenta-950: #220330;
}
Generate More ShadesCreate PaletteConvert Color