#766FDA#766FDA
#766FDA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.158 H 283.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #766FDA |
|---|---|
| RGB | rgb(118, 111, 218) |
| HSL | hsl(244, 59%, 65%) |
| HSV | hsv(244, 49%, 85%) |
| CMYK | cmyk(45.9%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(52.15, 30.00, -54.17) |
| CIE-LCH | lch(52.15, 61.93, 298.98°) |
| OKLab | oklab(59.95% 0.0369 -0.154) |
| OKLCH | oklch(59.95% 0.158 283.5) |
| XYZ | xyz(25.8068, 20.2812, 68.8709) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 5.82
Cornflower
#6A79F7
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.98
Cornflower Blue
#5170D7
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766FDA #D3DA6F
analogous
#6F9EDA #766FDA #AC6FDA
triadic
#766FDA #DA766F #6FDA76
tetradic
#766FDA #DA6F9E #D3DA6F #6FDAAC
square
#766FDA #DA6F9E #D3DA6F #6FDAAC
split-complementary
#766FDA #DAAC6F #9EDA6F
monochromatic
#322AA4 #483ECD #766FDA #A4A0E7 #D3D0F3
Accessibility & contrast
On white
4.15
#766FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#766FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766FDA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766FDA | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#55869A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #766fda; /* rgb */ color: rgb(118, 111, 218); /* oklch */ color: oklch(59.9% 0.158 283.5);
Tailwind
colors: {
custom: {
50: '#a398e6',
500: '#766fda',
950: '#000000',
},
}SCSS
$custom: #766fda; $custom-light: #a398e6; $custom-dark: #000000;
JSON
{
"hex": "#766fda",
"rgb": {
"r": 118,
"g": 111,
"b": 218
},
"hsl": {
"h": 243.925,
"s": 59.116,
"l": 64.51
},
"oklch": {
"l": 0.59947,
"c": 0.15833,
"h": 283.5
},
"luminance": 0.20282
}Semantic roles & 50–950 ramp
primary
#766FDA
secondary
#E2E5C0
accent
#C71FBC
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84