#7E36AF#7E36AF
#7E36AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.187 H 308.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E36AF |
|---|---|
| RGB | rgb(126, 54, 175) |
| HSL | hsl(276, 53%, 45%) |
| HSV | hsv(276, 69%, 69%) |
| CMYK | cmyk(28%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.14, 51.93, -51.75) |
| CIE-LCH | lch(38.14, 73.31, 315.10°) |
| OKLab | oklab(48.96% 0.1155 -0.1466) |
| OKLCH | oklch(48.96% 0.187 308.2) |
| XYZ | xyz(17.6596, 10.1694, 41.5817) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.02
Rebeccapurple
#663399
ΔE00 5.19
Purply
#983FB2
ΔE00 5.84
Darkorchid
#9932CC
ΔE00 5.84
Darkviolet
#9400D3
ΔE00 6.33
Royal Purple
#7851A9
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E36AF #67AF36
analogous
#4136AF #7E36AF #AF36A4
triadic
#7E36AF #AF7E36 #36AF7E
tetradic
#7E36AF #AF4136 #67AF36 #36A4AF
square
#7E36AF #AF4136 #67AF36 #36A4AF
split-complementary
#7E36AF #A4AF36 #36AF41
monochromatic
#3B1951 #5C2880 #7E36AF #9C57CB #B886DA
Accessibility & contrast
On white
6.92
#7E36AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7E36AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E36AF
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E36AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E36AF | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#76516E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7e36af; /* rgb */ color: rgb(126, 54, 175); /* oklch */ color: oklch(49.0% 0.187 308.2);
Tailwind
colors: {
custom: {
50: '#a873c8',
500: '#7e36af',
950: '#000000',
},
}SCSS
$custom: #7e36af; $custom-light: #a873c8; $custom-dark: #000000;
JSON
{
"hex": "#7e36af",
"rgb": {
"r": 126,
"g": 54,
"b": 175
},
"hsl": {
"h": 275.702,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.48963,
"c": 0.18659,
"h": 308.2
},
"luminance": 0.10169
}Semantic roles & 50–950 ramp
primary
#7E36AF
secondary
#9AC37D
accent
#DC4C86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82