#7B66EF#7B66EF
#7B66EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 60.2% C 0.198 H 285.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7B66EF |
|---|---|
| RGB | rgb(123, 102, 239) |
| HSL | hsl(249, 81%, 67%) |
| HSV | hsv(249, 57%, 94%) |
| CMYK | cmyk(48.5%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(51.77, 42.51, -66.57) |
| CIE-LCH | lch(51.77, 78.99, 302.56°) |
| OKLab | oklab(60.19% 0.0539 -0.1903) |
| OKLCH | oklch(60.19% 0.198 285.8) |
| XYZ | xyz(28.4951, 19.9443, 83.9928) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 0.59
Purpley
#8756E4
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 6.05
Mediumpurple
#9370DB
ΔE00 6.35
Light Indigo
#6D5ACF
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B66EF #DAEF66
analogous
#6696EF #7B66EF #C066EF
triadic
#7B66EF #EF7B66 #66EF7B
tetradic
#7B66EF #EF6696 #DAEF66 #66EFC0
square
#7B66EF #EF6696 #DAEF66 #66EFC0
split-complementary
#7B66EF #EFC066 #96EF66
monochromatic
#3015C6 #4B2FE9 #7B66EF #AB9DF5 #DBD5FB
Accessibility & contrast
On white
4.21
#7B66EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7B66EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B66EF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B66EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B66EF | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#5285A1
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7b66ef; /* rgb */ color: rgb(123, 102, 239); /* oklch */ color: oklch(60.2% 0.198 285.8);
Tailwind
colors: {
custom: {
50: '#a992f5',
500: '#7b66ef',
950: '#000000',
},
}SCSS
$custom: #7b66ef; $custom-light: #a992f5; $custom-dark: #000000;
JSON
{
"hex": "#7b66ef",
"rgb": {
"r": 123,
"g": 102,
"b": 239
},
"hsl": {
"h": 249.197,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.60187,
"c": 0.19781,
"h": 285.8
},
"luminance": 0.19946
}Semantic roles & 50–950 ramp
primary
#7B66EF
secondary
#E8EEC2
accent
#DD08BD
background
#FAF9FF
surface
#F5F1FE
border
#CFCBD6
text
#110D17
muted
#807E85