#766CDC#766CDC
#766CDC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.165 H 284.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #766CDC |
|---|---|
| RGB | rgb(118, 108, 220) |
| HSL | hsl(245, 62%, 64%) |
| HSV | hsv(245, 51%, 86%) |
| CMYK | cmyk(46.4%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(51.55, 32.38, -56.28) |
| CIE-LCH | lch(51.55, 64.93, 299.91°) |
| OKLab | oklab(59.53% 0.0406 -0.1602) |
| OKLCH | oklch(59.53% 0.165 284.2) |
| XYZ | xyz(25.7482, 19.7428, 70.1503) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.92
Dark Periwinkle
#665FD1
ΔE00 5.10
Mediumpurple
#9370DB
ΔE00 6.01
Light Indigo
#6D5ACF
ΔE00 6.13
Cornflower
#6A79F7
ΔE00 6.34
Slate Blue
#6A5ACD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766CDC #D2DC6C
analogous
#6C9ADC #766CDC #AE6CDC
triadic
#766CDC #DC766C #6CDC76
tetradic
#766CDC #DC6C9A #D2DC6C #6CDCAE
square
#766CDC #DC6C9A #D2DC6C #6CDCAE
split-complementary
#766CDC #DCAE6C #9ADC6C
monochromatic
#3328A6 #483BD0 #766CDC #A49DE8 #D2CFF4
Accessibility & contrast
On white
4.24
#766CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#766CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766CDC
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766CDC | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#54849A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #766cdc; /* rgb */ color: rgb(118, 108, 220); /* oklch */ color: oklch(59.5% 0.165 284.2);
Tailwind
colors: {
custom: {
50: '#a396e7',
500: '#766cdc',
950: '#000000',
},
}SCSS
$custom: #766cdc; $custom-light: #a396e7; $custom-dark: #000000;
JSON
{
"hex": "#766cdc",
"rgb": {
"r": 118,
"g": 108,
"b": 220
},
"hsl": {
"h": 245.357,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.59529,
"c": 0.16523,
"h": 284.2
},
"luminance": 0.19744
}Semantic roles & 50–950 ramp
primary
#766CDC
secondary
#E2E5BE
accent
#C91CBA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84