#766CE2#766CE2
#766CE2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.173 H 283.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #766CE2 |
|---|---|
| RGB | rgb(118, 108, 226) |
| HSL | hsl(245, 67%, 65%) |
| HSV | hsv(245, 52%, 89%) |
| CMYK | cmyk(47.8%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(51.91, 34.15, -59.08) |
| CIE-LCH | lch(51.91, 68.24, 300.03°) |
| OKLab | oklab(59.92% 0.041 -0.1684) |
| OKLCH | oklch(59.92% 0.173 283.7) |
| XYZ | xyz(26.5572, 20.0664, 74.4106) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 5.45
Cornflower
#6A79F7
ΔE00 5.82
Mediumpurple
#9370DB
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.47
Slate Blue
#6A5ACD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766CE2 #D8E26C
analogous
#6C9DE2 #766CE2 #B16CE2
triadic
#766CE2 #E2766C #6CE276
tetradic
#766CE2 #E26C9D #D8E26C #6CE2B1
square
#766CE2 #E26C9D #D8E26C #6CE2B1
split-complementary
#766CE2 #E2B16C #9DE26C
monochromatic
#2F23B1 #4639D8 #766CE2 #A69FEC #D5D2F6
Accessibility & contrast
On white
4.19
#766CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#766CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766CE2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766CE2 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3080E6
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#50869D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #766ce2; /* rgb */ color: rgb(118, 108, 226); /* oklch */ color: oklch(59.9% 0.173 283.7);
Tailwind
colors: {
custom: {
50: '#a496ec',
500: '#766ce2',
950: '#000000',
},
}SCSS
$custom: #766ce2; $custom-light: #a496ec; $custom-dark: #000000;
JSON
{
"hex": "#766ce2",
"rgb": {
"r": 118,
"g": 108,
"b": 226
},
"hsl": {
"h": 245.085,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.59921,
"c": 0.17329,
"h": 283.7
},
"luminance": 0.20068
}Semantic roles & 50–950 ramp
primary
#766CE2
secondary
#E5E9C1
accent
#CF17BF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84