#764EEF#764EEF
#764EEF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.228 H 288.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #764EEF |
|---|---|
| RGB | rgb(118, 78, 239) |
| HSL | hsl(255, 83%, 62%) |
| HSV | hsv(255, 67%, 94%) |
| CMYK | cmyk(50.6%, 67.4%, 0%, 6.3%) |
| CIE-LAB | lab(46.35, 54.86, -75.40) |
| CIE-LCH | lch(46.35, 93.24, 306.04°) |
| OKLab | oklab(56.14% 0.0711 -0.2164) |
| OKLCH | oklch(56.14% 0.228 288.2) |
| XYZ | xyz(25.7710, 15.5311, 83.2845) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.76
Purpleish Blue
#6140EF
ΔE00 4.51
Bluish Purple
#703BE7
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.26
Slate Blue
#6A5ACD
ΔE00 5.68
Dark Periwinkle
#665FD1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764EEF #C7EF4E
analogous
#4E76EF #764EEF #C74EEF
triadic
#764EEF #EF764E #4EEF76
tetradic
#764EEF #EF4E76 #C7EF4E #4EEFC7
square
#764EEF #EF4E76 #C7EF4E #4EEFC7
split-complementary
#764EEF #EFC74E #76EF4E
monochromatic
#3810B2 #4B16EA #764EEF #A186F4 #CDBEF9
Accessibility & contrast
On white
5.11
#764EEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#764EEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764EEF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764EEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764EEF | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#497798
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #764eef; /* rgb */ color: rgb(118, 78, 239); /* oklch */ color: oklch(56.1% 0.228 288.2);
Tailwind
colors: {
custom: {
50: '#a782f5',
500: '#764eef',
950: '#000000',
},
}SCSS
$custom: #764eef; $custom-light: #a782f5; $custom-dark: #000000;
JSON
{
"hex": "#764eef",
"rgb": {
"r": 118,
"g": 78,
"b": 239
},
"hsl": {
"h": 254.907,
"s": 83.42,
"l": 62.157
},
"oklch": {
"l": 0.56137,
"c": 0.22781,
"h": 288.2
},
"luminance": 0.15532
}Semantic roles & 50–950 ramp
primary
#764EEF
secondary
#DBEAAF
accent
#E006AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85