#7F46BF#7F46BF
#7F46BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.183 H 302.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F46BF |
|---|---|
| RGB | rgb(127, 70, 191) |
| HSL | hsl(268, 49%, 51%) |
| HSV | hsv(268, 63%, 75%) |
| CMYK | cmyk(33.5%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.24, 48.07, -54.56) |
| CIE-LCH | lch(42.24, 72.71, 311.38°) |
| OKLab | oklab(52.28% 0.0972 -0.1549) |
| OKLCH | oklch(52.28% 0.183 302.1) |
| XYZ | xyz(20.3443, 12.6539, 50.6508) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.69
Blueviolet
#8A2BE2
ΔE00 5.98
Purply
#983FB2
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F46BF #86BF46
analogous
#4649BF #7F46BF #BB46BF
triadic
#7F46BF #BF7F46 #46BF7F
tetradic
#7F46BF #BF4649 #86BF46 #46BFBB
square
#7F46BF #BF4649 #86BF46 #46BFBB
split-complementary
#7F46BF #BFBB46 #49BF46
monochromatic
#432467 #613394 #7F46BF #9E73CF #BEA1DE
Accessibility & contrast
On white
5.95
#7F46BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7F46BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F46BF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F46BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F46BF | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#72607C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f46bf; /* rgb */ color: rgb(127, 70, 191); /* oklch */ color: oklch(52.3% 0.183 302.1);
Tailwind
colors: {
custom: {
50: '#a87dd3',
500: '#7f46bf',
950: '#000000',
},
}SCSS
$custom: #7f46bf; $custom-light: #a87dd3; $custom-dark: #000000;
JSON
{
"hex": "#7f46bf",
"rgb": {
"r": 127,
"g": 70,
"b": 191
},
"hsl": {
"h": 268.264,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.52283,
"c": 0.18283,
"h": 302.1
},
"luminance": 0.12654
}Semantic roles & 50–950 ramp
primary
#7F46BF
secondary
#B2CB96
accent
#D85098
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83