#7B66FE#7B66FE
#7B66FE is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.3% C 0.217 H 284.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7B66FE |
|---|---|
| RGB | rgb(123, 102, 254) |
| HSL | hsl(248, 99%, 70%) |
| HSV | hsv(248, 60%, 100%) |
| CMYK | cmyk(51.6%, 59.8%, 0%, 0.4%) |
| CIE-LAB | lab(52.80, 46.87, -73.25) |
| CIE-LCH | lch(52.80, 86.97, 302.62°) |
| OKLab | oklab(61.27% 0.0535 -0.2099) |
| OKLCH | oklch(61.27% 0.217 284.3) |
| XYZ | xyz(30.8037, 20.8678, 96.1515) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.08
Purpley
#8756E4
ΔE00 6.31
Cornflower
#6A79F7
ΔE00 6.79
Mediumpurple
#9370DB
ΔE00 7.35
Dark Periwinkle
#665FD1
ΔE00 7.64
Lighter Purple
#A55AF4
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B66FE #E9FE66
analogous
#669DFE #7B66FE #C766FE
triadic
#7B66FE #FE7B66 #66FE7B
tetradic
#7B66FE #FE669D #E9FE66 #66FEC7
square
#7B66FE #FE669D #E9FE66 #66FEC7
split-complementary
#7B66FE #FEC766 #9DFE66
monochromatic
#2102E8 #4729FE #7B66FE #AFA3FE #E4E0FF
Accessibility & contrast
On white
4.06
#7B66FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#7B66FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B66FE
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B66FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B66FE | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#468AA8
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7b66fe; /* rgb */ color: rgb(123, 102, 254); /* oklch */ color: oklch(61.3% 0.217 284.3);
Tailwind
colors: {
custom: {
50: '#ab92ff',
500: '#7b66fe',
950: '#000000',
},
}SCSS
$custom: #7b66fe; $custom-light: #ab92ff; $custom-dark: #000000;
JSON
{
"hex": "#7b66fe",
"rgb": {
"r": 123,
"g": 102,
"b": 254
},
"hsl": {
"h": 248.289,
"s": 98.701,
"l": 69.804
},
"oklch": {
"l": 0.6127,
"c": 0.21665,
"h": 284.3
},
"luminance": 0.20869
}Semantic roles & 50–950 ramp
primary
#7B66FE
secondary
#EFF5CA
accent
#E600C6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86