#7F3ABA#7F3ABA
#7F3ABA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.193 H 305.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3ABA |
|---|---|
| RGB | rgb(127, 58, 186) |
| HSL | hsl(272, 52%, 48%) |
| HSV | hsv(272, 69%, 73%) |
| CMYK | cmyk(31.7%, 68.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.72, 52.83, -55.70) |
| CIE-LCH | lch(39.72, 76.76, 313.48°) |
| OKLab | oklab(50.36% 0.1111 -0.1582) |
| OKLCH | oklch(50.36% 0.193 305.1) |
| XYZ | xyz(19.1264, 11.0834, 47.5766) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.58
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3ABA #75BA3A
analogous
#3F3ABA #7F3ABA #BA3AB5
triadic
#7F3ABA #BA7F3A #3ABA7F
tetradic
#7F3ABA #BA3F3A #75BA3A #3AB5BA
square
#7F3ABA #BA3F3A #75BA3A #3AB5BA
split-complementary
#7F3ABA #B5BA3A #3ABA3F
monochromatic
#3F1D5D #5F2B8B #7F3ABA #9D63CE #BA92DD
Accessibility & contrast
On white
6.53
#7F3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7F3ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3ABA
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3ABA | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#085EB7
Tritanopia (blue-blind)
#745775
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f3aba; /* rgb */ color: rgb(127, 58, 186); /* oklch */ color: oklch(50.4% 0.193 305.1);
Tailwind
colors: {
custom: {
50: '#a975d0',
500: '#7f3aba',
950: '#000000',
},
}SCSS
$custom: #7f3aba; $custom-light: #a975d0; $custom-dark: #000000;
JSON
{
"hex": "#7f3aba",
"rgb": {
"r": 127,
"g": 58,
"b": 186
},
"hsl": {
"h": 272.344,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.50363,
"c": 0.1933,
"h": 305.1
},
"luminance": 0.11083
}Semantic roles & 50–950 ramp
primary
#7F3ABA
secondary
#A5C888
accent
#DC4C8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82