#7B41C0#7B41C0
#7B41C0 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.190 H 300.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7B41C0 |
|---|---|
| RGB | rgb(123, 65, 192) |
| HSL | hsl(267, 50%, 50%) |
| HSV | hsv(267, 66%, 75%) |
| CMYK | cmyk(35.9%, 66.1%, 0%, 24.7%) |
| CIE-LAB | lab(40.89, 50.03, -57.34) |
| CIE-LCH | lch(40.89, 76.10, 311.10°) |
| OKLab | oklab(51.23% 0.0973 -0.1632) |
| OKLCH | oklch(51.23% 0.19 300.8) |
| XYZ | xyz(19.5708, 11.7972, 51.1050) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.68
Blueviolet
#8A2BE2
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.44
Royal Purple
#7851A9
ΔE00 5.71
Bluish Purple
#703BE7
ΔE00 5.75
Burple
#6832E3
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B41C0 #86C041
analogous
#4146C0 #7B41C0 #BB41C0
triadic
#7B41C0 #C07B41 #41C07B
tetradic
#7B41C0 #C04146 #86C041 #41C0BB
square
#7B41C0 #C04146 #86C041 #41C0BB
split-complementary
#7B41C0 #C0BB41 #46C041
monochromatic
#402265 #5E3193 #7B41C0 #9B6FCF #BB9DDE
Accessibility & contrast
On white
6.25
#7B41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7B41C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B41C0
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B41C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B41C0 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#6C5E7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b41c0; /* rgb */ color: rgb(123, 65, 192); /* oklch */ color: oklch(51.2% 0.190 300.8);
Tailwind
colors: {
custom: {
50: '#a679d4',
500: '#7b41c0',
950: '#000000',
},
}SCSS
$custom: #7b41c0; $custom-light: #a679d4; $custom-dark: #000000;
JSON
{
"hex": "#7b41c0",
"rgb": {
"r": 123,
"g": 65,
"b": 192
},
"hsl": {
"h": 267.402,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.5123,
"c": 0.18999,
"h": 300.8
},
"luminance": 0.11797
}Semantic roles & 50–950 ramp
primary
#7B41C0
secondary
#B1CB92
accent
#DA4E9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83