#764FDA#764FDA
#764FDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.202 H 291.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #764FDA |
|---|---|
| RGB | rgb(118, 79, 218) |
| HSL | hsl(257, 65%, 58%) |
| HSV | hsv(257, 64%, 85%) |
| CMYK | cmyk(45.9%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(44.95, 48.50, -65.79) |
| CIE-LCH | lch(44.95, 81.74, 306.40°) |
| OKLab | oklab(54.63% 0.0728 -0.1882) |
| OKLCH | oklch(54.63% 0.202 291.1) |
| XYZ | xyz(22.9185, 14.5047, 67.9082) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.70
Purpley
#8756E4
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.11
Bluish Purple
#703BE7
ΔE00 4.56
Purpleish Blue
#6140EF
ΔE00 5.01
Iris
#6258C4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FDA #B3DA4F
analogous
#4F6DDA #764FDA #BC4FDA
triadic
#764FDA #DA764F #4FDA76
tetradic
#764FDA #DA4F6D #B3DA4F #4FDABC
square
#764FDA #DA4F6D #B3DA4F #4FDABC
split-complementary
#764FDA #DABC4F #6DDA4F
monochromatic
#3E1E90 #5429C3 #764FDA #9D82E5 #C5B4EF
Accessibility & contrast
On white
5.38
#764FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#764FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FDA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FDA | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#57708D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #764fda; /* rgb */ color: rgb(118, 79, 218); /* oklch */ color: oklch(54.6% 0.202 291.1);
Tailwind
colors: {
custom: {
50: '#a582e6',
500: '#764fda',
950: '#000000',
},
}SCSS
$custom: #764fda; $custom-light: #a582e6; $custom-dark: #000000;
JSON
{
"hex": "#764fda",
"rgb": {
"r": 118,
"g": 79,
"b": 218
},
"hsl": {
"h": 256.835,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.54625,
"c": 0.20179,
"h": 291.1
},
"luminance": 0.14505
}Semantic roles & 50–950 ramp
primary
#764FDA
secondary
#CFDEA7
accent
#E840B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84