#7B5FF5#7B5FF5
#7B5FF5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.214 H 286.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5FF5 |
|---|---|
| RGB | rgb(123, 95, 245) |
| HSL | hsl(251, 88%, 67%) |
| HSV | hsv(251, 61%, 96%) |
| CMYK | cmyk(49.8%, 61.2%, 0%, 3.9%) |
| CIE-LAB | lab(50.67, 48.21, -71.71) |
| CIE-LCH | lch(50.67, 86.41, 303.91°) |
| OKLab | oklab(59.51% 0.0609 -0.2054) |
| OKLCH | oklch(59.51% 0.214 286.5) |
| XYZ | xyz(28.7372, 18.9866, 88.5191) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.58
Purpley
#8756E4
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 6.12
Dark Periwinkle
#665FD1
ΔE00 6.20
Slate Blue
#6A5ACD
ΔE00 6.58
Lighter Purple
#A55AF4
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5FF5 #D9F55F
analogous
#5F8EF5 #7B5FF5 #C65FF5
triadic
#7B5FF5 #F57B5F #5FF57B
tetradic
#7B5FF5 #F55F8E #D9F55F #5FF5C6
square
#7B5FF5 #F55F8E #D9F55F #5FF5C6
split-complementary
#7B5FF5 #F5C65F #8EF55F
monochromatic
#310DCD #4B25F1 #7B5FF5 #AB99F9 #DAD2FC
Accessibility & contrast
On white
4.38
#7B5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7B5FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5FF5
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5FF5 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#4E83A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b5ff5; /* rgb */ color: rgb(123, 95, 245); /* oklch */ color: oklch(59.5% 0.214 286.5);
Tailwind
colors: {
custom: {
50: '#aa8ef9',
500: '#7b5ff5',
950: '#000000',
},
}SCSS
$custom: #7b5ff5; $custom-light: #aa8ef9; $custom-dark: #000000;
JSON
{
"hex": "#7b5ff5",
"rgb": {
"r": 123,
"g": 95,
"b": 245
},
"hsl": {
"h": 251.2,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.59509,
"c": 0.21427,
"h": 286.5
},
"luminance": 0.18988
}Semantic roles & 50–950 ramp
primary
#7B5FF5
secondary
#E7F0C0
accent
#E501BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85