#764ABE#764ABE
#764ABE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.175 H 297.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #764ABE |
|---|---|
| RGB | rgb(118, 74, 190) |
| HSL | hsl(263, 47%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(37.9%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(41.95, 43.66, -54.49) |
| CIE-LCH | lch(41.95, 69.83, 308.70°) |
| OKLab | oklab(51.82% 0.0804 -0.155) |
| OKLCH | oklch(51.82% 0.175 297.4) |
| XYZ | xyz(19.2119, 12.4665, 50.0993) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.53
Light Indigo
#6D5ACF
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.93
Iris
#6258C4
ΔE00 6.06
Bluish Purple
#703BE7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764ABE #92BE4A
analogous
#4A58BE #764ABE #B04ABE
triadic
#764ABE #BE764A #4ABE76
tetradic
#764ABE #BE4A58 #92BE4A #4ABEB0
square
#764ABE #BE4A58 #92BE4A #4ABEB0
split-complementary
#764ABE #BEB04A #58BE4A
monochromatic
#3F2568 #5A3695 #764ABE #9877CE #BAA4DE
Accessibility & contrast
On white
6.01
#764ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#764ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764ABE
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764ABE | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1662BB
Tritanopia (blue-blind)
#65637D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #764abe; /* rgb */ color: rgb(118, 74, 190); /* oklch */ color: oklch(51.8% 0.175 297.4);
Tailwind
colors: {
custom: {
50: '#a27fd2',
500: '#764abe',
950: '#000000',
},
}SCSS
$custom: #764abe; $custom-light: #a27fd2; $custom-dark: #000000;
JSON
{
"hex": "#764abe",
"rgb": {
"r": 118,
"g": 74,
"b": 190
},
"hsl": {
"h": 262.759,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.51822,
"c": 0.17458,
"h": 297.4
},
"luminance": 0.12467
}Semantic roles & 50–950 ramp
primary
#764ABE
secondary
#B8CB98
accent
#D751A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83