#7B5FC0#7B5FC0
#7B5FC0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.146 H 294.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5FC0 |
|---|---|
| RGB | rgb(123, 95, 192) |
| HSL | hsl(257, 43%, 56%) |
| HSV | hsv(257, 51%, 75%) |
| CMYK | cmyk(35.9%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.24, 33.36, -47.14) |
| CIE-LCH | lch(47.24, 57.75, 305.29°) |
| OKLab | oklab(55.88% 0.0607 -0.1332) |
| OKLCH | oklch(55.88% 0.146 294.5) |
| XYZ | xyz(21.7726, 16.2007, 51.8389) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.38
Iris
#6258C4
ΔE00 5.48
Royal Purple
#7851A9
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5FC0 #A4C05F
analogous
#5F74C0 #7B5FC0 #AC5FC0
triadic
#7B5FC0 #C07B5F #5FC07B
tetradic
#7B5FC0 #C05F74 #A4C05F #5FC0AC
square
#7B5FC0 #C05F74 #A4C05F #5FC0AC
split-complementary
#7B5FC0 #C0AC5F #74C05F
monochromatic
#432F76 #5C40A2 #7B5FC0 #9F8BD1 #C3B7E3
Accessibility & contrast
On white
4.95
#7B5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7B5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5FC0
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5FC0 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A71C3
Deuteranopia (green-blind)
#406EBE
Tritanopia (blue-blind)
#6B7286
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7b5fc0; /* rgb */ color: rgb(123, 95, 192); /* oklch */ color: oklch(55.9% 0.146 294.5);
Tailwind
colors: {
custom: {
50: '#a48dd3',
500: '#7b5fc0',
950: '#000000',
},
}SCSS
$custom: #7b5fc0; $custom-light: #a48dd3; $custom-dark: #000000;
JSON
{
"hex": "#7b5fc0",
"rgb": {
"r": 123,
"g": 95,
"b": 192
},
"hsl": {
"h": 257.32,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.55881,
"c": 0.14642,
"h": 294.5
},
"luminance": 0.16201
}Semantic roles & 50–950 ramp
primary
#7B5FC0
secondary
#C6D1A9
accent
#D355AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83