#764AE2#764AE2
#764AE2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.217 H 290.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #764AE2 |
|---|---|
| RGB | rgb(118, 74, 226) |
| HSL | hsl(257, 72%, 59%) |
| HSV | hsv(257, 67%, 89%) |
| CMYK | cmyk(47.8%, 67.3%, 0%, 11.4%) |
| CIE-LAB | lab(44.57, 53.36, -70.96) |
| CIE-LCH | lch(44.57, 88.78, 306.94°) |
| OKLab | oklab(54.55% 0.0767 -0.2034) |
| OKLCH | oklch(54.55% 0.217 290.7) |
| XYZ | xyz(23.6436, 14.2392, 73.4394) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.31
Purpleish Blue
#6140EF
ΔE00 3.89
Purpley
#8756E4
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.35
Burple
#6832E3
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764AE2 #B6E24A
analogous
#4A6AE2 #764AE2 #C24AE2
triadic
#764AE2 #E2764A #4AE276
tetradic
#764AE2 #E24A6A #B6E24A #4AE2C2
square
#764AE2 #E24A6A #B6E24A #4AE2C2
split-complementary
#764AE2 #E2C24A #6AE24A
monochromatic
#3E1999 #5321CE #764AE2 #9E7FEA #C6B3F3
Accessibility & contrast
On white
5.46
#764AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#764AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764AE2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764AE2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#537090
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #764ae2; /* rgb */ color: rgb(118, 74, 226); /* oklch */ color: oklch(54.5% 0.217 290.7);
Tailwind
colors: {
custom: {
50: '#a67fec',
500: '#764ae2',
950: '#000000',
},
}SCSS
$custom: #764ae2; $custom-light: #a67fec; $custom-dark: #000000;
JSON
{
"hex": "#764ae2",
"rgb": {
"r": 118,
"g": 74,
"b": 226
},
"hsl": {
"h": 257.368,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.54545,
"c": 0.21737,
"h": 290.7
},
"luminance": 0.1424
}Semantic roles & 50–950 ramp
primary
#764AE2
secondary
#D1E2A6
accent
#EF39BA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84