#7B6FF5#7B6FF5
#7B6FF5 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.1% C 0.194 H 283.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7B6FF5 |
|---|---|
| RGB | rgb(123, 111, 245) |
| HSL | hsl(245, 87%, 70%) |
| HSV | hsv(245, 55%, 96%) |
| CMYK | cmyk(49.8%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(54.21, 39.05, -65.99) |
| CIE-LCH | lch(54.21, 76.68, 300.62°) |
| OKLab | oklab(62.11% 0.0444 -0.1885) |
| OKLCH | oklch(62.11% 0.194 283.2) |
| XYZ | xyz(30.3293, 22.1708, 89.0498) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.37
Cornflower
#6A79F7
ΔE00 4.68
Periwinkle (survey)
#8E82FE
ΔE00 6.08
Mediumpurple
#9370DB
ΔE00 6.43
Lavender Blue
#8B88F8
ΔE00 7.46
Dark Periwinkle
#665FD1
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B6FF5 #E9F56F
analogous
#6FA6F5 #7B6FF5 #BE6FF5
triadic
#7B6FF5 #F57B6F #6FF57B
tetradic
#7B6FF5 #F56FA6 #E9F56F #6FF5BE
square
#7B6FF5 #F56FA6 #E9F56F #6FF5BE
split-complementary
#7B6FF5 #F5BE6F #A6F56F
monochromatic
#210FDA #4736F1 #7B6FF5 #AFA8F9 #E4E1FD
Accessibility & contrast
On white
3.86
#7B6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#7B6FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B6FF5
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B6FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B6FF5 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#057DF2
Tritanopia (blue-blind)
#4C8DA7
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7b6ff5; /* rgb */ color: rgb(123, 111, 245); /* oklch */ color: oklch(62.1% 0.194 283.2);
Tailwind
colors: {
custom: {
50: '#a998f9',
500: '#7b6ff5',
950: '#000000',
},
}SCSS
$custom: #7b6ff5; $custom-light: #a998f9; $custom-dark: #000000;
JSON
{
"hex": "#7b6ff5",
"rgb": {
"r": 123,
"g": 111,
"b": 245
},
"hsl": {
"h": 245.373,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.62113,
"c": 0.1937,
"h": 283.2
},
"luminance": 0.22172
}Semantic roles & 50–950 ramp
primary
#7B6FF5
secondary
#EFF3CD
accent
#E402CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85