Magenta

#BA22F7

Purple

Color Codes

All color formats for development

HEX
#BA22F7
RGB
rgb(186, 34, 247)
HSL
hsl(283, 93%, 55%)
OKLCH
oklch(0.606 0.285 312.7)
CMYK
cmyk(25%, 86%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

4.51:1

AA AAA

On Black Background

4.66:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FAF0
100
#F4DD
200
#EBBF
300
#DC8E
400
#CA53
500
#BA22
600
#9D08
700
#7D06
800
#5904
900
#3903
950
#2402

Shades

Darker variations

1#B109F4
2#9D08D9
3#8A07BD
4#7606A2
5#620587
6#4F046C
7#3B0351
8#270236
9#14011B

Tints

Lighter variations

1#C138F8
2#C84EF9
3#CF64F9
4#D67AFA
5#DD90FB
6#E4A6FC
7#EABDFD
8#F1D3FD
9#F8E9FE

Tones

Muted variations

1#B62CEC
2#B137E2
3#AD42D7
4#A84CCC
5#A357C2
6#9F62B7
7#9A6CAC
8#9577A2
9#918297

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FAF0
#FAF0FE
BackgroundsSubtle highlightsCard backgrounds
100
F4DD
#F4DDFE
Light backgroundsTable row hoverSkeleton loading
200
EBBF
#EBBFFD
Secondary backgroundsInput backgroundsDividers
300
DC8E
#DC8EFB
BordersInactive statesPlaceholder text
400
CA53
#CA53F9
Disabled statesSecondary iconsMuted text
500
BA22
#BA22F7
Primary brand colorCTAsActive elementsLinks
600
9D08
#9D08D9
Hover statesFocus ringsPrimary buttons hover
700
7D06
#7D06AC
Active/pressed statesDark mode accentsSecondary text
800
5904
#59047B
Text on light backgroundsHeadingsStrong borders
900
3903
#39034F
Primary textHigh emphasis contentDark headings
950
2402
#240231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #FAF0FE;
  --magenta-100: #F4DDFE;
  --magenta-200: #EBBFFD;
  --magenta-300: #DC8EFB;
  --magenta-400: #CA53F9;
  --magenta-500: #BA22F7;
  --magenta-600: #9D08D9;
  --magenta-700: #7D06AC;
  --magenta-800: #59047B;
  --magenta-900: #39034F;
  --magenta-950: #240231;
}
Generate More ShadesCreate PaletteConvert Color