#7B46AF#7B46AF
#7B46AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.163 H 304.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46AF |
|---|---|
| RGB | rgb(123, 70, 175) |
| HSL | hsl(270, 43%, 48%) |
| HSV | hsv(270, 60%, 69%) |
| CMYK | cmyk(29.7%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(40.71, 43.18, -47.63) |
| CIE-LCH | lch(40.71, 64.29, 312.19°) |
| OKLab | oklab(50.74% 0.0925 -0.1347) |
| OKLCH | oklch(50.74% 0.163 304.5) |
| XYZ | xyz(18.0947, 11.6865, 41.8516) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.31
Purply
#983FB2
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.58
Bluey Purple
#6241C7
ΔE00 6.61
Darkorchid
#9932CC
ΔE00 6.68
Deep Lavender
#8D5EB7
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46AF #7AAF46
analogous
#4746AF #7B46AF #AF46AE
triadic
#7B46AF #AF7B46 #46AF7B
tetradic
#7B46AF #AF4746 #7AAF46 #46AEAF
square
#7B46AF #AF4746 #7AAF46 #46AEAF
split-complementary
#7B46AF #AEAF46 #46AF47
monochromatic
#3E2358 #5C3583 #7B46AF #9A6DC5 #B899D6
Accessibility & contrast
On white
6.29
#7B46AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7B46AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46AF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46AF | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#2E60AD
Tritanopia (blue-blind)
#725B74
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b46af; /* rgb */ color: rgb(123, 70, 175); /* oklch */ color: oklch(50.7% 0.163 304.5);
Tailwind
colors: {
custom: {
50: '#a57cc7',
500: '#7b46af',
950: '#000000',
},
}SCSS
$custom: #7b46af; $custom-light: #a57cc7; $custom-dark: #000000;
JSON
{
"hex": "#7b46af",
"rgb": {
"r": 123,
"g": 70,
"b": 175
},
"hsl": {
"h": 270.286,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.50736,
"c": 0.16336,
"h": 304.5
},
"luminance": 0.11686
}Semantic roles & 50–950 ramp
primary
#7B46AF
secondary
#A8C28E
accent
#D35593
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82