#764EF3#764EF3
#764EF3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.232 H 287.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #764EF3 |
|---|---|
| RGB | rgb(118, 78, 243) |
| HSL | hsl(255, 87%, 63%) |
| HSV | hsv(255, 68%, 95%) |
| CMYK | cmyk(51.4%, 67.9%, 0%, 4.7%) |
| CIE-LAB | lab(46.67, 55.97, -77.13) |
| CIE-LCH | lch(46.67, 95.29, 305.97°) |
| OKLab | oklab(56.46% 0.0704 -0.2215) |
| OKLCH | oklch(56.46% 0.232 287.6) |
| XYZ | xyz(26.3685, 15.7701, 86.4312) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.89
Purpleish Blue
#6140EF
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 6.03
Dark Periwinkle
#665FD1
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764EF3 #CBF34E
analogous
#4E79F3 #764EF3 #C84EF3
triadic
#764EF3 #F3764E #4EF376
tetradic
#764EF3 #F34E79 #CBF34E #4EF3C8
square
#764EF3 #F34E79 #CBF34E #4EF3C8
split-complementary
#764EF3 #F3C84E #79F34E
monochromatic
#370DBA #4A15EF #764EF3 #A287F7 #CFC1FB
Accessibility & contrast
On white
5.06
#764EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#764EF3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764EF3
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764EF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764EF3 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#46789B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #764ef3; /* rgb */ color: rgb(118, 78, 243); /* oklch */ color: oklch(56.5% 0.232 287.6);
Tailwind
colors: {
custom: {
50: '#a882f8',
500: '#764ef3',
950: '#000000',
},
}SCSS
$custom: #764ef3; $custom-light: #a882f8; $custom-dark: #000000;
JSON
{
"hex": "#764ef3",
"rgb": {
"r": 118,
"g": 78,
"b": 243
},
"hsl": {
"h": 254.545,
"s": 87.302,
"l": 62.941
},
"oklch": {
"l": 0.56463,
"c": 0.23244,
"h": 287.6
},
"luminance": 0.15771
}Semantic roles & 50–950 ramp
primary
#764EF3
secondary
#DEECB1
accent
#E402AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85