#766EF2#766EF2
#766EF2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.4% C 0.192 H 281.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #766EF2 |
|---|---|
| RGB | rgb(118, 110, 242) |
| HSL | hsl(244, 84%, 69%) |
| HSV | hsv(244, 55%, 95%) |
| CMYK | cmyk(51.2%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(53.40, 37.75, -65.64) |
| CIE-LCH | lch(53.40, 75.72, 299.90°) |
| OKLab | oklab(61.35% 0.0395 -0.1877) |
| OKLCH | oklch(61.35% 0.192 281.9) |
| XYZ | xyz(29.0693, 21.4126, 86.5885) |
| Luminance | 0.2141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.21
Cornflower
#6A79F7
ΔE00 4.42
Periwinkle (survey)
#8E82FE
ΔE00 6.82
Mediumpurple
#9370DB
ΔE00 6.92
Dark Periwinkle
#665FD1
ΔE00 7.22
Cornflower Blue
#5170D7
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766EF2 #EAF26E
analogous
#6EA8F2 #766EF2 #B86EF2
triadic
#766EF2 #F2766E #6EF276
tetradic
#766EF2 #F26EA8 #EAF26E #6EF2B8
square
#766EF2 #F26EA8 #EAF26E #6EF2B8
split-complementary
#766EF2 #F2B86E #A8F26E
monochromatic
#1F13D3 #4136ED #766EF2 #ABA6F7 #E0DEFC
Accessibility & contrast
On white
3.98
#766EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#766EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766EF2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766EF2 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1984F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#438CA5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #766ef2; /* rgb */ color: rgb(118, 110, 242); /* oklch */ color: oklch(61.4% 0.192 281.9);
Tailwind
colors: {
custom: {
50: '#a698f7',
500: '#766ef2',
950: '#000000',
},
}SCSS
$custom: #766ef2; $custom-light: #a698f7; $custom-dark: #000000;
JSON
{
"hex": "#766ef2",
"rgb": {
"r": 118,
"g": 110,
"b": 242
},
"hsl": {
"h": 243.636,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.61353,
"c": 0.19177,
"h": 281.9
},
"luminance": 0.21414
}Semantic roles & 50–950 ramp
primary
#766EF2
secondary
#EFF1CB
accent
#E006D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85