#764FBF#764FBF
#764FBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.169 H 296.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #764FBF |
|---|---|
| RGB | rgb(118, 79, 191) |
| HSL | hsl(261, 47%, 53%) |
| HSV | hsv(261, 59%, 75%) |
| CMYK | cmyk(38.2%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.07, 41.13, -53.27) |
| CIE-LCH | lch(43.07, 67.30, 307.67°) |
| OKLab | oklab(52.66% 0.0744 -0.1514) |
| OKLCH | oklch(52.66% 0.169 296.2) |
| XYZ | xyz(19.6687, 13.2047, 50.7926) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 4.86
Iris
#6258C4
ΔE00 5.15
Bluey Purple
#6241C7
ΔE00 5.25
Purpley
#8756E4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FBF #98BF4F
analogous
#4F60BF #764FBF #AE4FBF
triadic
#764FBF #BF764F #4FBF76
tetradic
#764FBF #BF4F60 #98BF4F #4FBFAE
square
#764FBF #BF4F60 #98BF4F #4FBFAE
split-complementary
#764FBF #BFAE4F #60BF4F
monochromatic
#3F276C #5A3899 #764FBF #997CCF #BCA9E0
Accessibility & contrast
On white
5.77
#764FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#764FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FBF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FBF | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#64677F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #764fbf; /* rgb */ color: rgb(118, 79, 191); /* oklch */ color: oklch(52.7% 0.169 296.2);
Tailwind
colors: {
custom: {
50: '#a282d3',
500: '#764fbf',
950: '#000000',
},
}SCSS
$custom: #764fbf; $custom-light: #a282d3; $custom-dark: #000000;
JSON
{
"hex": "#764fbf",
"rgb": {
"r": 118,
"g": 79,
"b": 191
},
"hsl": {
"h": 260.893,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.52662,
"c": 0.16866,
"h": 296.2
},
"luminance": 0.13205
}Semantic roles & 50–950 ramp
primary
#764FBF
secondary
#BCCD9D
accent
#D651A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83