#7B3EBC#7B3EBC
#7B3EBC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.189 H 302.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3EBC |
|---|---|
| RGB | rgb(123, 62, 188) |
| HSL | hsl(269, 50%, 49%) |
| HSV | hsv(269, 67%, 74%) |
| CMYK | cmyk(34.6%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(40.06, 50.54, -56.35) |
| CIE-LCH | lch(40.06, 75.69, 311.89°) |
| OKLab | oklab(50.54% 0.1011 -0.1602) |
| OKLCH | oklch(50.54% 0.189 302.2) |
| XYZ | xyz(18.9660, 11.2870, 48.7466) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.87
Bluish Purple
#703BE7
ΔE00 6.31
Purply
#983FB2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3EBC #7FBC3E
analogous
#3E40BC #7B3EBC #BA3EBC
triadic
#7B3EBC #BC7B3E #3EBC7B
tetradic
#7B3EBC #BC3E40 #7FBC3E #3EBCBA
square
#7B3EBC #BC3E40 #7FBC3E #3EBCBA
split-complementary
#7B3EBC #BCBA3E #40BC3E
monochromatic
#3F2060 #5D2F8E #7B3EBC #9A6ACE #B998DD
Accessibility & contrast
On white
6.45
#7B3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7B3EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3EBC
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3EBC | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#6E5B78
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7b3ebc; /* rgb */ color: rgb(123, 62, 188); /* oklch */ color: oklch(50.5% 0.189 302.2);
Tailwind
colors: {
custom: {
50: '#a677d1',
500: '#7b3ebc',
950: '#000000',
},
}SCSS
$custom: #7b3ebc; $custom-light: #a677d1; $custom-dark: #000000;
JSON
{
"hex": "#7b3ebc",
"rgb": {
"r": 123,
"g": 62,
"b": 188
},
"hsl": {
"h": 269.048,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.50542,
"c": 0.18944,
"h": 302.2
},
"luminance": 0.11287
}Semantic roles & 50–950 ramp
primary
#7B3EBC
secondary
#ACC98D
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82