#766BF2#766BF2
#766BF2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.196 H 282.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #766BF2 |
|---|---|
| RGB | rgb(118, 107, 242) |
| HSL | hsl(245, 84%, 68%) |
| HSV | hsv(245, 56%, 95%) |
| CMYK | cmyk(51.2%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(52.70, 39.50, -66.76) |
| CIE-LCH | lch(52.70, 77.58, 300.61°) |
| OKLab | oklab(60.84% 0.0426 -0.191) |
| OKLCH | oklch(60.84% 0.196 282.6) |
| XYZ | xyz(28.7510, 20.7761, 86.4824) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.45
Cornflower
#6A79F7
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 6.64
Mediumpurple
#9370DB
ΔE00 6.92
Purpley
#8756E4
ΔE00 7.16
Periwinkle (survey)
#8E82FE
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766BF2 #E7F26B
analogous
#6BA3F2 #766BF2 #B96BF2
triadic
#766BF2 #F2766B #6BF276
tetradic
#766BF2 #F26BA3 #E7F26B #6BF2B9
square
#766BF2 #F26BA3 #E7F26B #6BF2B9
split-complementary
#766BF2 #F2B96B #A3F26B
monochromatic
#2212D0 #4233ED #766BF2 #AAA3F7 #DEDCFC
Accessibility & contrast
On white
4.07
#766BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#766BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766BF2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766BF2 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#448AA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #766bf2; /* rgb */ color: rgb(118, 107, 242); /* oklch */ color: oklch(60.8% 0.196 282.6);
Tailwind
colors: {
custom: {
50: '#a695f7',
500: '#766bf2',
950: '#000000',
},
}SCSS
$custom: #766bf2; $custom-light: #a695f7; $custom-dark: #000000;
JSON
{
"hex": "#766bf2",
"rgb": {
"r": 118,
"g": 107,
"b": 242
},
"hsl": {
"h": 244.889,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.60838,
"c": 0.19568,
"h": 282.6
},
"luminance": 0.20778
}Semantic roles & 50–950 ramp
primary
#766BF2
secondary
#EDF1C8
accent
#E005CE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85