#7E33AA#7E33AA
#7E33AA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 310.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E33AA |
|---|---|
| RGB | rgb(126, 51, 170) |
| HSL | hsl(278, 54%, 43%) |
| HSV | hsv(278, 70%, 67%) |
| CMYK | cmyk(25.9%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(37.31, 52.16, -50.12) |
| CIE-LCH | lch(37.31, 72.34, 316.14°) |
| OKLab | oklab(48.26% 0.1193 -0.1418) |
| OKLCH | oklch(48.26% 0.185 310.1) |
| XYZ | xyz(17.0423, 9.7059, 38.9981) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.05
Rebeccapurple
#663399
ΔE00 4.79
Purply
#983FB2
ΔE00 6.06
Darkorchid
#9932CC
ΔE00 6.44
Darkviolet
#9400D3
ΔE00 6.63
Royal Purple
#7851A9
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E33AA #5FAA33
analogous
#4233AA #7E33AA #AA339A
triadic
#7E33AA #AA7E33 #33AA7E
tetradic
#7E33AA #AA4233 #5FAA33 #339AAA
square
#7E33AA #AA4233 #5FAA33 #339AAA
split-complementary
#7E33AA #9AAA33 #33AA42
monochromatic
#38174C #5B257B #7E33AA #9D50CA #B77FD9
Accessibility & contrast
On white
7.14
#7E33AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#7E33AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E33AA
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E33AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E33AA | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#784D6B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7e33aa; /* rgb */ color: rgb(126, 51, 170); /* oklch */ color: oklch(48.3% 0.185 310.1);
Tailwind
colors: {
custom: {
50: '#a771c4',
500: '#7e33aa',
950: '#000000',
},
}SCSS
$custom: #7e33aa; $custom-light: #a771c4; $custom-dark: #000000;
JSON
{
"hex": "#7e33aa",
"rgb": {
"r": 126,
"g": 51,
"b": 170
},
"hsl": {
"h": 277.815,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.48256,
"c": 0.18529,
"h": 310.1
},
"luminance": 0.09706
}Semantic roles & 50–950 ramp
primary
#7E33AA
secondary
#93C277
accent
#DD4B81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82