#7F3ABB#7F3ABB
#7F3ABB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.194 H 304.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3ABB |
|---|---|
| RGB | rgb(127, 58, 187) |
| HSL | hsl(272, 53%, 48%) |
| HSV | hsv(272, 69%, 73%) |
| CMYK | cmyk(32.1%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(39.79, 53.06, -56.17) |
| CIE-LCH | lch(39.79, 77.27, 313.37°) |
| OKLab | oklab(50.44% 0.111 -0.1595) |
| OKLCH | oklch(50.44% 0.194 304.8) |
| XYZ | xyz(19.2331, 11.1261, 48.1384) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 5.44
Darkviolet
#9400D3
ΔE00 5.77
Bluey Purple
#6241C7
ΔE00 5.89
Purply
#983FB2
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3ABB #76BB3A
analogous
#3E3ABB #7F3ABB #BB3AB6
triadic
#7F3ABB #BB7F3A #3ABB7F
tetradic
#7F3ABB #BB3E3A #76BB3A #3AB6BB
square
#7F3ABB #BB3E3A #76BB3A #3AB6BB
split-complementary
#7F3ABB #B6BB3A #3ABB3E
monochromatic
#401D5E #5F2C8C #7F3ABB #9D63CF #BA92DD
Accessibility & contrast
On white
6.51
#7F3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7F3ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3ABB
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3ABB | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#745776
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f3abb; /* rgb */ color: rgb(127, 58, 187); /* oklch */ color: oklch(50.4% 0.194 304.8);
Tailwind
colors: {
custom: {
50: '#a975d0',
500: '#7f3abb',
950: '#000000',
},
}SCSS
$custom: #7f3abb; $custom-light: #a975d0; $custom-dark: #000000;
JSON
{
"hex": "#7f3abb",
"rgb": {
"r": 127,
"g": 58,
"b": 187
},
"hsl": {
"h": 272.093,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.50437,
"c": 0.19436,
"h": 304.8
},
"luminance": 0.11126
}Semantic roles & 50–950 ramp
primary
#7F3ABB
secondary
#A6C888
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82