#764ABF#764ABF
#764ABF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.176 H 297.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #764ABF |
|---|---|
| RGB | rgb(118, 74, 191) |
| HSL | hsl(263, 48%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(38.2%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(42.02, 43.92, -54.97) |
| CIE-LCH | lch(42.02, 70.36, 308.63°) |
| OKLab | oklab(51.89% 0.0804 -0.1564) |
| OKLCH | oklch(51.89% 0.176 297.2) |
| XYZ | xyz(19.3216, 12.5104, 50.6769) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.46
Royal Purple
#7851A9
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.85
Iris
#6258C4
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764ABF #93BF4A
analogous
#4A59BF #764ABF #B14ABF
triadic
#764ABF #BF764A #4ABF76
tetradic
#764ABF #BF4A59 #93BF4A #4ABFB1
square
#764ABF #BF4A59 #93BF4A #4ABFB1
split-complementary
#764ABF #BFB14A #59BF4A
monochromatic
#3F2569 #5A3597 #764ABF #9877CF #BAA4DF
Accessibility & contrast
On white
6.00
#764ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#764ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764ABF
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764ABF | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1362BC
Tritanopia (blue-blind)
#65647D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #764abf; /* rgb */ color: rgb(118, 74, 191); /* oklch */ color: oklch(51.9% 0.176 297.2);
Tailwind
colors: {
custom: {
50: '#a27fd3',
500: '#764abf',
950: '#000000',
},
}SCSS
$custom: #764abf; $custom-light: #a27fd3; $custom-dark: #000000;
JSON
{
"hex": "#764abf",
"rgb": {
"r": 118,
"g": 74,
"b": 191
},
"hsl": {
"h": 262.564,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.51893,
"c": 0.17581,
"h": 297.2
},
"luminance": 0.12511
}Semantic roles & 50–950 ramp
primary
#764ABF
secondary
#B9CC99
accent
#D750A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83