#7F46BC#7F46BC
#7F46BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.179 H 302.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7F46BC |
|---|---|
| RGB | rgb(127, 70, 188) |
| HSL | hsl(269, 47%, 51%) |
| HSV | hsv(269, 63%, 74%) |
| CMYK | cmyk(32.4%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(42.04, 47.33, -53.13) |
| CIE-LCH | lch(42.04, 71.15, 311.69°) |
| OKLab | oklab(52.07% 0.0974 -0.1507) |
| OKLCH | oklch(52.07% 0.179 302.9) |
| XYZ | xyz(20.0176, 12.5232, 48.9298) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.48
Darkorchid
#9932CC
ΔE00 5.35
Purply
#983FB2
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 5.91
Blueviolet
#8A2BE2
ΔE00 6.32
Bluish Purple
#703BE7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F46BC #83BC46
analogous
#4648BC #7F46BC #BA46BC
triadic
#7F46BC #BC7F46 #46BC7F
tetradic
#7F46BC #BC4648 #83BC46 #46BCBA
square
#7F46BC #BC4648 #83BC46 #46BCBA
split-complementary
#7F46BC #BCBA46 #48BC46
monochromatic
#432464 #613490 #7F46BC #9E73CC #BDA0DD
Accessibility & contrast
On white
5.99
#7F46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7F46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F46BC
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F46BC | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#735F7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f46bc; /* rgb */ color: rgb(127, 70, 188); /* oklch */ color: oklch(52.1% 0.179 302.9);
Tailwind
colors: {
custom: {
50: '#a87dd1',
500: '#7f46bc',
950: '#000000',
},
}SCSS
$custom: #7f46bc; $custom-light: #a87dd1; $custom-dark: #000000;
JSON
{
"hex": "#7f46bc",
"rgb": {
"r": 127,
"g": 70,
"b": 188
},
"hsl": {
"h": 268.983,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.52074,
"c": 0.17939,
"h": 302.9
},
"luminance": 0.12523
}Semantic roles & 50–950 ramp
primary
#7F46BC
secondary
#B0C995
accent
#D65196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82