#766BF1#766BF1
#766BF1 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.8% C 0.194 H 282.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #766BF1 |
|---|---|
| RGB | rgb(118, 107, 241) |
| HSL | hsl(245, 83%, 68%) |
| HSV | hsv(245, 56%, 95%) |
| CMYK | cmyk(51%, 55.6%, 0%, 5.5%) |
| CIE-LAB | lab(52.64, 39.21, -66.31) |
| CIE-LCH | lch(52.64, 77.04, 300.59°) |
| OKLab | oklab(60.77% 0.0426 -0.1897) |
| OKLCH | oklch(60.77% 0.194 282.7) |
| XYZ | xyz(28.6013, 20.7162, 85.6936) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.40
Cornflower
#6A79F7
ΔE00 5.27
Dark Periwinkle
#665FD1
ΔE00 6.54
Mediumpurple
#9370DB
ΔE00 6.86
Purpley
#8756E4
ΔE00 7.12
Light Indigo
#6D5ACF
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766BF1 #E6F16B
analogous
#6BA3F1 #766BF1 #B96BF1
triadic
#766BF1 #F1766B #6BF176
tetradic
#766BF1 #F16BA3 #E6F16B #6BF1B9
square
#766BF1 #F16BA3 #E6F16B #6BF1B9
split-complementary
#766BF1 #F1B96B #A3F16B
monochromatic
#2313CE #4233EC #766BF1 #AAA3F6 #DEDBFC
Accessibility & contrast
On white
4.08
#766BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#766BF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766BF1
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766BF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766BF1 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0782F6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#458AA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #766bf1; /* rgb */ color: rgb(118, 107, 241); /* oklch */ color: oklch(60.8% 0.194 282.7);
Tailwind
colors: {
custom: {
50: '#a695f6',
500: '#766bf1',
950: '#000000',
},
}SCSS
$custom: #766bf1; $custom-light: #a695f6; $custom-dark: #000000;
JSON
{
"hex": "#766bf1",
"rgb": {
"r": 118,
"g": 107,
"b": 241
},
"hsl": {
"h": 244.925,
"s": 82.716,
"l": 68.235
},
"oklch": {
"l": 0.60768,
"c": 0.19439,
"h": 282.7
},
"luminance": 0.20718
}Semantic roles & 50–950 ramp
primary
#766BF1
secondary
#EDF0C8
accent
#DF06CD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85