Magenta

#BA23F6

Purple

Color Codes

All color formats for development

HEX
#BA23F6
RGB
rgb(186, 35, 246)
HSL
hsl(283, 92%, 55%)
OKLCH
oklch(0.606 0.283 312.9)
CMYK
cmyk(24%, 86%, 0%, 4%)

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
#C954
500
#BA23
600
#9D09
700
#7D07
800
#5905
900
#3903
950
#2402

Shades

Darker variations

1#B10AF2
2#9D09D7
3#8908BC
4#7607A2
5#620687
6#4E046C
7#3B0351
8#270236
9#14011B

Tints

Lighter variations

1#C139F7
2#C84FF8
3#CF65F9
4#D67BF9
5#DC91FA
6#E3A7FB
7#EABDFC
8#F1D3FD
9#F8E9FE

Tones

Muted variations

1#B52DEB
2#B138E1
3#AC42D6
4#A84DCC
5#A357C1
6#9F62B6
7#9A6DAC
8#9577A1
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
#EBBFFC
Secondary backgroundsInput backgroundsDividers
300
DC8E
#DC8EFA
BordersInactive statesPlaceholder text
400
C954
#C954F8
Disabled statesSecondary iconsMuted text
500
BA23
#BA23F6
Primary brand colorCTAsActive elementsLinks
600
9D09
#9D09D7
Hover statesFocus ringsPrimary buttons hover
700
7D07
#7D07AB
Active/pressed statesDark mode accentsSecondary text
800
5905
#59057A
Text on light backgroundsHeadingsStrong borders
900
3903
#39034E
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: #EBBFFC;
  --magenta-300: #DC8EFA;
  --magenta-400: #C954F8;
  --magenta-500: #BA23F6;
  --magenta-600: #9D09D7;
  --magenta-700: #7D07AB;
  --magenta-800: #59057A;
  --magenta-900: #39034E;
  --magenta-950: #240231;
}
Generate More ShadesCreate PaletteConvert Color