#7B337F#7B337F
#7B337F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.1% C 0.141 H 325.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7B337F |
|---|---|
| RGB | rgb(123, 51, 127) |
| HSL | hsl(297, 43%, 35%) |
| HSV | hsv(297, 60%, 50%) |
| CMYK | cmyk(3.1%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(34.21, 42.38, -28.88) |
| CIE-LCH | lch(34.21, 51.28, 325.73°) |
| OKLab | oklab(45.08% 0.1162 -0.0798) |
| OKLCH | oklch(45.08% 0.141 325.5) |
| XYZ | xyz(13.1827, 8.1117, 20.9459) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 5.15
Light Eggplant
#894585
ΔE00 5.48
Bruise
#7E4071
ΔE00 6.04
Purple
#800080
ΔE00 6.11
Darkmagenta
#8B008B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B337F #377F33
analogous
#55337F #7B337F #7F335D
triadic
#7B337F #7F7B33 #337F7B
tetradic
#7B337F #7F5533 #377F33 #335D7F
square
#7B337F #7F5533 #377F33 #335D7F
split-complementary
#7B337F #5D7F33 #337F55
monochromatic
#261028 #512153 #7B337F #A545AB #BE69C3
Accessibility & contrast
On white
8.01
#7B337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#7B337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B337F
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B337F | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#7E3D54
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7b337f; /* rgb */ color: rgb(123, 51, 127); /* oklch */ color: oklch(45.1% 0.141 325.5);
Tailwind
colors: {
custom: {
50: '#a36fa4',
500: '#7b337f',
950: '#000000',
},
}SCSS
$custom: #7b337f; $custom-light: #a36fa4; $custom-dark: #000000;
JSON
{
"hex": "#7b337f",
"rgb": {
"r": 123,
"g": 51,
"b": 127
},
"hsl": {
"h": 296.842,
"s": 42.697,
"l": 34.902
},
"oklch": {
"l": 0.45078,
"c": 0.14097,
"h": 325.5
},
"luminance": 0.08111
}Semantic roles & 50–950 ramp
primary
#7B337F
secondary
#67AB63
accent
#D2555C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F080F
muted
#7F7B7F