#766ACC#766ACC
#766ACC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.146 H 286.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #766ACC |
|---|---|
| RGB | rgb(118, 106, 204) |
| HSL | hsl(247, 49%, 61%) |
| HSV | hsv(247, 48%, 80%) |
| CMYK | cmyk(42.2%, 48%, 0%, 20%) |
| CIE-LAB | lab(50.12, 28.92, -49.47) |
| CIE-LCH | lch(50.12, 57.30, 300.31°) |
| OKLab | oklab(58.16% 0.0416 -0.1402) |
| OKLCH | oklch(58.16% 0.146 286.5) |
| XYZ | xyz(23.5212, 18.5184, 59.4501) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.41
Mediumpurple
#9370DB
ΔE00 6.27
Iris
#6258C4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766ACC #C0CC6A
analogous
#6A8FCC #766ACC #A76ACC
triadic
#766ACC #CC766A #6ACC76
tetradic
#766ACC #CC6A8F #C0CC6A #6ACCA7
square
#766ACC #CC6A8F #C0CC6A #6ACCA7
split-complementary
#766ACC #CCA76A #8FCC6A
monochromatic
#3B308C #4E3FB9 #766ACC #A098DC #CAC5EB
Accessibility & contrast
On white
4.46
#766ACC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#766ACC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766ACC
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766ACC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766ACC | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#5D7E91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #766acc; /* rgb */ color: rgb(118, 106, 204); /* oklch */ color: oklch(58.2% 0.146 286.5);
Tailwind
colors: {
custom: {
50: '#a294dc',
500: '#766acc',
950: '#000000',
},
}SCSS
$custom: #766acc; $custom-light: #a294dc; $custom-dark: #000000;
JSON
{
"hex": "#766acc",
"rgb": {
"r": 118,
"g": 106,
"b": 204
},
"hsl": {
"h": 247.347,
"s": 49,
"l": 60.784
},
"oklch": {
"l": 0.58155,
"c": 0.14621,
"h": 286.5
},
"luminance": 0.18519
}Semantic roles & 50–950 ramp
primary
#766ACC
secondary
#D7DBB6
accent
#BC29AA
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83