#766CD2#766CD2
#766CD2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.152 H 285.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #766CD2 |
|---|---|
| RGB | rgb(118, 108, 210) |
| HSL | hsl(246, 53%, 62%) |
| HSV | hsv(246, 49%, 82%) |
| CMYK | cmyk(43.8%, 48.6%, 0%, 17.6%) |
| CIE-LAB | lab(50.95, 29.46, -51.56) |
| CIE-LCH | lch(50.95, 59.38, 299.74°) |
| OKLab | oklab(58.9% 0.0398 -0.1463) |
| OKLCH | oklch(58.9% 0.152 285.2) |
| XYZ | xyz(24.4633, 19.2288, 63.3828) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 6.01
Mediumpurple
#9370DB
ΔE00 6.03
Iris
#6258C4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766CD2 #C8D26C
analogous
#6C95D2 #766CD2 #A96CD2
triadic
#766CD2 #D2766C #6CD276
tetradic
#766CD2 #D26C95 #C8D26C #6CD2A9
square
#766CD2 #D26C95 #C8D26C #6CD2A9
split-complementary
#766CD2 #D2A96C #95D26C
monochromatic
#382E96 #4A3DC4 #766CD2 #A29BE0 #CDCAEF
Accessibility & contrast
On white
4.33
#766CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#766CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766CD2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766CD2 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#598195
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #766cd2; /* rgb */ color: rgb(118, 108, 210); /* oklch */ color: oklch(58.9% 0.152 285.2);
Tailwind
colors: {
custom: {
50: '#a296e0',
500: '#766cd2',
950: '#000000',
},
}SCSS
$custom: #766cd2; $custom-light: #a296e0; $custom-dark: #000000;
JSON
{
"hex": "#766cd2",
"rgb": {
"r": 118,
"g": 108,
"b": 210
},
"hsl": {
"h": 245.882,
"s": 53.125,
"l": 62.353
},
"oklch": {
"l": 0.58895,
"c": 0.15159,
"h": 285.2
},
"luminance": 0.1923
}Semantic roles & 50–950 ramp
primary
#766CD2
secondary
#DCE0BA
accent
#C125B1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83