Magenta

#AF24F5

Purple

Color Codes

All color formats for development

HEX
#AF24F5
RGB
rgb(175, 36, 245)
HSL
hsl(280, 91%, 55%)
OKLCH
oklch(0.591 0.279 309.8)
CMYK
cmyk(29%, 85%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

4.78:1

AA AAA

On Black Background

4.39:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FAF0
100
#F3DD
200
#E8C0
300
#D68F
400
#C155
500
#AF24
600
#920A
700
#7408
800
#5306
900
#3504
950
#2102

Shades

Darker variations

1#A50BF1
2#920AD6
3#8009BC
4#6E08A1
5#5B0686
6#49056B
7#370450
8#250336
9#12011B

Tints

Lighter variations

1#B73AF6
2#BF50F7
3#C766F8
4#CF7BF9
5#D791FA
6#DFA7FB
7#E7BDFC
8#EFD3FD
9#F7E9FE

Tones

Muted variations

1#AC2EEA
2#A839E0
3#A543D5
4#A14ECB
5#9E58C0
6#9A62B6
7#976DAC
8#9377A1
9#908297

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FAF0
#FAF0FE
BackgroundsSubtle highlightsCard backgrounds
100
F3DD
#F3DDFD
Light backgroundsTable row hoverSkeleton loading
200
E8C0
#E8C0FC
Secondary backgroundsInput backgroundsDividers
300
D68F
#D68FFA
BordersInactive statesPlaceholder text
400
C155
#C155F7
Disabled statesSecondary iconsMuted text
500
AF24
#AF24F5
Primary brand colorCTAsActive elementsLinks
600
920A
#920AD6
Hover statesFocus ringsPrimary buttons hover
700
7408
#7408AA
Active/pressed statesDark mode accentsSecondary text
800
5306
#53067A
Text on light backgroundsHeadingsStrong borders
900
3504
#35044E
Primary textHigh emphasis contentDark headings
950
2102
#210231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #FAF0FE;
  --magenta-100: #F3DDFD;
  --magenta-200: #E8C0FC;
  --magenta-300: #D68FFA;
  --magenta-400: #C155F7;
  --magenta-500: #AF24F5;
  --magenta-600: #920AD6;
  --magenta-700: #7408AA;
  --magenta-800: #53067A;
  --magenta-900: #35044E;
  --magenta-950: #210231;
}
Generate More ShadesCreate PaletteConvert Color