Magenta

#A524F5

Purple

Color Codes

All color formats for development

HEX
#A524F5
RGB
rgb(165, 36, 245)
HSL
hsl(277, 91%, 55%)
OKLCH
oklch(0.578 0.277 306.8)
CMYK
cmyk(33%, 85%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

5.04:1

AA AAA

On Black Background

4.17:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F9F0
100
#F1DD
200
#E5C0
300
#D18F
400
#B955
500
#A524
600
#880A
700
#6C08
800
#4D06
900
#3104
950
#1F02

Shades

Darker variations

1#990BF1
2#880AD6
3#7709BC
4#6608A1
5#550686
6#44056B
7#330450
8#220336
9#11011B

Tints

Lighter variations

1#AE3AF6
2#B750F7
3#C066F8
4#C97BF9
5#D291FA
6#DBA7FB
7#E4BDFC
8#EDD3FD
9#F6E9FE

Tones

Muted variations

1#A22EEA
2#A039E0
3#9D43D5
4#9B4ECB
5#9858C0
6#9662B6
7#946DAC
8#9177A1
9#8F8297

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F9F0
#F9F0FE
BackgroundsSubtle highlightsCard backgrounds
100
F1DD
#F1DDFD
Light backgroundsTable row hoverSkeleton loading
200
E5C0
#E5C0FC
Secondary backgroundsInput backgroundsDividers
300
D18F
#D18FFA
BordersInactive statesPlaceholder text
400
B955
#B955F7
Disabled statesSecondary iconsMuted text
500
A524
#A524F5
Primary brand colorCTAsActive elementsLinks
600
880A
#880AD6
Hover statesFocus ringsPrimary buttons hover
700
6C08
#6C08AA
Active/pressed statesDark mode accentsSecondary text
800
4D06
#4D067A
Text on light backgroundsHeadingsStrong borders
900
3104
#31044E
Primary textHigh emphasis contentDark headings
950
1F02
#1F0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --magenta-50: #F9F0FE;
  --magenta-100: #F1DDFD;
  --magenta-200: #E5C0FC;
  --magenta-300: #D18FFA;
  --magenta-400: #B955F7;
  --magenta-500: #A524F5;
  --magenta-600: #880AD6;
  --magenta-700: #6C08AA;
  --magenta-800: #4D067A;
  --magenta-900: #31044E;
  --magenta-950: #1F0231;
}
Generate More ShadesCreate PaletteConvert Color