#764BBE#764BBE
#764BBE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.173 H 297.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #764BBE |
|---|---|
| RGB | rgb(118, 75, 190) |
| HSL | hsl(262, 47%, 52%) |
| HSV | hsv(262, 61%, 75%) |
| CMYK | cmyk(37.9%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.16, 43.11, -54.16) |
| CIE-LCH | lch(42.16, 69.22, 308.52°) |
| OKLab | oklab(51.97% 0.0792 -0.154) |
| OKLCH | oklch(51.97% 0.173 297.2) |
| XYZ | xyz(19.2792, 12.6011, 50.1217) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.73
Iris
#6258C4
ΔE00 5.88
Bluish Purple
#703BE7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764BBE #93BE4B
analogous
#4B5ABE #764BBE #B04BBE
triadic
#764BBE #BE764B #4BBE76
tetradic
#764BBE #BE4B5A #93BE4B #4BBEB0
square
#764BBE #BE4B5A #93BE4B #4BBEB0
split-complementary
#764BBE #BEB04B #5ABE4B
monochromatic
#3F2669 #5A3696 #764BBE #9878CE #BAA5DE
Accessibility & contrast
On white
5.97
#764BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#764BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764BBE
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764BBE | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#65647D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #764bbe; /* rgb */ color: rgb(118, 75, 190); /* oklch */ color: oklch(52.0% 0.173 297.2);
Tailwind
colors: {
custom: {
50: '#a27fd2',
500: '#764bbe',
950: '#000000',
},
}SCSS
$custom: #764bbe; $custom-light: #a27fd2; $custom-dark: #000000;
JSON
{
"hex": "#764bbe",
"rgb": {
"r": 118,
"g": 75,
"b": 190
},
"hsl": {
"h": 262.435,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.51973,
"c": 0.17317,
"h": 297.2
},
"luminance": 0.12601
}Semantic roles & 50–950 ramp
primary
#764BBE
secondary
#B9CC99
accent
#D751A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83