#7B3EBB#7B3EBB
#7B3EBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.188 H 302.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3EBB |
|---|---|
| RGB | rgb(123, 62, 187) |
| HSL | hsl(269, 50%, 49%) |
| HSV | hsv(269, 67%, 73%) |
| CMYK | cmyk(34.2%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(39.99, 50.30, -55.87) |
| CIE-LCH | lch(39.99, 75.18, 311.99°) |
| OKLab | oklab(50.47% 0.1012 -0.1588) |
| OKLCH | oklch(50.47% 0.188 302.5) |
| XYZ | xyz(18.8585, 11.2440, 48.1809) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.09
Darkorchid
#9932CC
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 5.75
Royal Purple
#7851A9
ΔE00 5.80
Purply
#983FB2
ΔE00 6.45
Bluish Purple
#703BE7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3EBB #7EBB3E
analogous
#3E40BB #7B3EBB #BA3EBB
triadic
#7B3EBB #BB7B3E #3EBB7B
tetradic
#7B3EBB #BB3E40 #7EBB3E #3EBBBA
square
#7B3EBB #BB3E40 #7EBB3E #3EBBBA
split-complementary
#7B3EBB #BBBA3E #40BB3E
monochromatic
#3F205F #5D2F8D #7B3EBB #9A69CD #B997DC
Accessibility & contrast
On white
6.46
#7B3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7B3EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3EBB
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3EBB | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7b3ebb; /* rgb */ color: rgb(123, 62, 187); /* oklch */ color: oklch(50.5% 0.188 302.5);
Tailwind
colors: {
custom: {
50: '#a677d0',
500: '#7b3ebb',
950: '#000000',
},
}SCSS
$custom: #7b3ebb; $custom-light: #a677d0; $custom-dark: #000000;
JSON
{
"hex": "#7b3ebb",
"rgb": {
"r": 123,
"g": 62,
"b": 187
},
"hsl": {
"h": 269.28,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.50468,
"c": 0.18834,
"h": 302.5
},
"luminance": 0.11244
}Semantic roles & 50–950 ramp
primary
#7B3EBB
secondary
#ABC88D
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82