#766CF3#766CF3
#766CF3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.196 H 282.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #766CF3 |
|---|---|
| RGB | rgb(118, 108, 243) |
| HSL | hsl(244, 85%, 69%) |
| HSV | hsv(244, 56%, 95%) |
| CMYK | cmyk(51.4%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(53.00, 39.22, -66.84) |
| CIE-LCH | lch(53.00, 77.50, 300.40°) |
| OKLab | oklab(61.08% 0.0416 -0.1912) |
| OKLCH | oklch(61.08% 0.196 282.3) |
| XYZ | xyz(29.0065, 21.0461, 87.3105) |
| Luminance | 0.2105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.73
Cornflower
#6A79F7
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 6.93
Mediumpurple
#9370DB
ΔE00 6.96
Periwinkle (survey)
#8E82FE
ΔE00 7.26
Purpley
#8756E4
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766CF3 #E9F36C
analogous
#6CA6F3 #766CF3 #BA6CF3
triadic
#766CF3 #F3766C #6CF376
tetradic
#766CF3 #F36CA6 #E9F36C #6CF3BA
square
#766CF3 #F36CA6 #E9F36C #6CF3BA
split-complementary
#766CF3 #F3BA6C #A6F36C
monochromatic
#2011D3 #4133EE #766CF3 #ABA5F8 #DFDDFC
Accessibility & contrast
On white
4.03
#766CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#766CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766CF3
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766CF3 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0683F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#438BA5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #766cf3; /* rgb */ color: rgb(118, 108, 243); /* oklch */ color: oklch(61.1% 0.196 282.3);
Tailwind
colors: {
custom: {
50: '#a696f8',
500: '#766cf3',
950: '#000000',
},
}SCSS
$custom: #766cf3; $custom-light: #a696f8; $custom-dark: #000000;
JSON
{
"hex": "#766cf3",
"rgb": {
"r": 118,
"g": 108,
"b": 243
},
"hsl": {
"h": 244.444,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.61078,
"c": 0.19568,
"h": 282.3
},
"luminance": 0.21048
}Semantic roles & 50–950 ramp
primary
#766CF3
secondary
#EEF1C9
accent
#E104D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85