#7B6EF3#7B6EF3
#7B6EF3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.192 H 283.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B6EF3 |
|---|---|
| RGB | rgb(123, 110, 243) |
| HSL | hsl(246, 85%, 69%) |
| HSV | hsv(246, 55%, 95%) |
| CMYK | cmyk(49.4%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(53.85, 39.05, -65.45) |
| CIE-LCH | lch(53.85, 76.22, 300.82°) |
| OKLab | oklab(61.81% 0.0454 -0.187) |
| OKLCH | oklch(61.81% 0.192 283.7) |
| XYZ | xyz(29.9171, 21.8323, 87.4143) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.97
Cornflower
#6A79F7
ΔE00 4.96
Mediumpurple
#9370DB
ΔE00 6.26
Periwinkle (survey)
#8E82FE
ΔE00 6.40
Dark Periwinkle
#665FD1
ΔE00 7.65
Purpley
#8756E4
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B6EF3 #E6F36E
analogous
#6EA4F3 #7B6EF3 #BE6EF3
triadic
#7B6EF3 #F37B6E #6EF37B
tetradic
#7B6EF3 #F36EA4 #E6F36E #6EF3BE
square
#7B6EF3 #F36EA4 #E6F36E #6EF3BE
split-complementary
#7B6EF3 #F3BE6E #A4F36E
monochromatic
#2512D5 #4835EE #7B6EF3 #AEA7F8 #E2DFFC
Accessibility & contrast
On white
3.91
#7B6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#7B6EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B6EF3
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B6EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B6EF3 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B85F8
Deuteranopia (green-blind)
#097CF0
Tritanopia (blue-blind)
#4E8CA6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7b6ef3; /* rgb */ color: rgb(123, 110, 243); /* oklch */ color: oklch(61.8% 0.192 283.7);
Tailwind
colors: {
custom: {
50: '#a998f8',
500: '#7b6ef3',
950: '#000000',
},
}SCSS
$custom: #7b6ef3; $custom-light: #a998f8; $custom-dark: #000000;
JSON
{
"hex": "#7b6ef3",
"rgb": {
"r": 123,
"g": 110,
"b": 243
},
"hsl": {
"h": 245.865,
"s": 84.713,
"l": 69.216
},
"oklch": {
"l": 0.61805,
"c": 0.19242,
"h": 283.7
},
"luminance": 0.21834
}Semantic roles & 50–950 ramp
primary
#7B6EF3
secondary
#EEF2CB
accent
#E104CC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85