#7B5FF8#7B5FF8
#7B5FF8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.218 H 286.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5FF8 |
|---|---|
| RGB | rgb(123, 95, 248) |
| HSL | hsl(251, 92%, 67%) |
| HSV | hsv(251, 62%, 97%) |
| CMYK | cmyk(50.4%, 61.7%, 0%, 2.7%) |
| CIE-LAB | lab(50.89, 49.07, -73.03) |
| CIE-LCH | lch(50.89, 87.99, 303.90°) |
| OKLab | oklab(59.73% 0.0607 -0.2093) |
| OKLCH | oklch(59.73% 0.218 286.2) |
| XYZ | xyz(29.1988, 19.1712, 90.9506) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.67
Purpley
#8756E4
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 6.48
Dark Periwinkle
#665FD1
ΔE00 6.52
Slate Blue
#6A5ACD
ΔE00 6.93
Lighter Purple
#A55AF4
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5FF8 #DCF85F
analogous
#5F90F8 #7B5FF8 #C75FF8
triadic
#7B5FF8 #F87B5F #5FF87B
tetradic
#7B5FF8 #F85F90 #DCF85F #5FF8C7
square
#7B5FF8 #F85F90 #DCF85F #5FF8C7
split-complementary
#7B5FF8 #F8C75F #90F85F
monochromatic
#2E09D3 #4B24F5 #7B5FF8 #AB9AFB #DCD4FD
Accessibility & contrast
On white
4.34
#7B5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7B5FF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5FF8
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5FF8 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#4C84A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b5ff8; /* rgb */ color: rgb(123, 95, 248); /* oklch */ color: oklch(59.7% 0.218 286.2);
Tailwind
colors: {
custom: {
50: '#aa8efc',
500: '#7b5ff8',
950: '#000000',
},
}SCSS
$custom: #7b5ff8; $custom-light: #aa8efc; $custom-dark: #000000;
JSON
{
"hex": "#7b5ff8",
"rgb": {
"r": 123,
"g": 95,
"b": 248
},
"hsl": {
"h": 250.98,
"s": 91.617,
"l": 67.255
},
"oklch": {
"l": 0.59734,
"c": 0.21794,
"h": 286.2
},
"luminance": 0.19173
}Semantic roles & 50–950 ramp
primary
#7B5FF8
secondary
#E9F2C1
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86