#7B46CF#7B46CF
#7B46CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.201 H 296.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46CF |
|---|---|
| RGB | rgb(123, 70, 207) |
| HSL | hsl(263, 59%, 54%) |
| HSV | hsv(263, 66%, 81%) |
| CMYK | cmyk(40.6%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(42.91, 51.30, -62.77) |
| CIE-LCH | lch(42.91, 81.07, 309.25°) |
| OKLab | oklab(53.02% 0.0902 -0.1792) |
| OKLCH | oklch(53.02% 0.201 296.7) |
| XYZ | xyz(21.6181, 13.0959, 60.4082) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.11
Bluey Purple
#6241C7
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 4.85
Burple
#6832E3
ΔE00 5.50
Purpleish Blue
#6140EF
ΔE00 5.71
Purpley
#8756E4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46CF #9ACF46
analogous
#4656CF #7B46CF #C046CF
triadic
#7B46CF #CF7B46 #46CF7B
tetradic
#7B46CF #CF4656 #9ACF46 #46CFC0
square
#7B46CF #CF4656 #9ACF46 #46CFC0
split-complementary
#7B46CF #CFC046 #56CF46
monochromatic
#43207B #5E2CAB #7B46CF #9E77DC #C0A7E8
Accessibility & contrast
On white
5.80
#7B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#7B46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46CF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46CF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#666685
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b46cf; /* rgb */ color: rgb(123, 70, 207); /* oklch */ color: oklch(53.0% 0.201 296.7);
Tailwind
colors: {
custom: {
50: '#a77ddf',
500: '#7b46cf',
950: '#000000',
},
}SCSS
$custom: #7b46cf; $custom-light: #a77ddf; $custom-dark: #000000;
JSON
{
"hex": "#7b46cf",
"rgb": {
"r": 123,
"g": 70,
"b": 207
},
"hsl": {
"h": 263.212,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.5302,
"c": 0.20058,
"h": 296.7
},
"luminance": 0.13096
}Semantic roles & 50–950 ramp
primary
#7B46CF
secondary
#BFD59B
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83