#7E3FBD#7E3FBD
#7E3FBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.190 H 303.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FBD |
|---|---|
| RGB | rgb(126, 63, 189) |
| HSL | hsl(270, 50%, 49%) |
| HSV | hsv(270, 67%, 74%) |
| CMYK | cmyk(33.3%, 66.7%, 0%, 25.9%) |
| CIE-LAB | lab(40.68, 50.92, -55.91) |
| CIE-LCH | lch(40.68, 75.62, 312.32°) |
| OKLab | oklab(51.09% 0.104 -0.1588) |
| OKLCH | oklch(51.09% 0.19 303.2) |
| XYZ | xyz(19.5649, 11.6648, 49.3550) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 5.44
Blueviolet
#8A2BE2
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.73
Purply
#983FB2
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FBD #7EBD3F
analogous
#3F3FBD #7E3FBD #BD3FBD
triadic
#7E3FBD #BD7E3F #3FBD7E
tetradic
#7E3FBD #BD3F3F #7EBD3F #3FBDBD
square
#7E3FBD #BD3F3F #7EBD3F #3FBDBD
split-complementary
#7E3FBD #BDBD3F #3FBD3F
monochromatic
#412061 #5F308F #7E3FBD #9D6BCE #BB99DD
Accessibility & contrast
On white
6.30
#7E3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7E3FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FBD
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FBD | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0B60BA
Tritanopia (blue-blind)
#725B79
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7e3fbd; /* rgb */ color: rgb(126, 63, 189); /* oklch */ color: oklch(51.1% 0.190 303.2);
Tailwind
colors: {
custom: {
50: '#a878d2',
500: '#7e3fbd',
950: '#000000',
},
}SCSS
$custom: #7e3fbd; $custom-light: #a878d2; $custom-dark: #000000;
JSON
{
"hex": "#7e3fbd",
"rgb": {
"r": 126,
"g": 63,
"b": 189
},
"hsl": {
"h": 270,
"s": 50,
"l": 49.412
},
"oklch": {
"l": 0.51089,
"c": 0.18984,
"h": 303.2
},
"luminance": 0.11665
}Semantic roles & 50–950 ramp
primary
#7E3FBD
secondary
#ACC98F
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83