#764BCD#764BCD
#764BCD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.191 H 294.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #764BCD |
|---|---|
| RGB | rgb(118, 75, 205) |
| HSL | hsl(260, 57%, 55%) |
| HSV | hsv(260, 63%, 80%) |
| CMYK | cmyk(42.4%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(43.20, 47.12, -61.17) |
| CIE-LCH | lch(43.20, 77.22, 307.61°) |
| OKLab | oklab(53.06% 0.0782 -0.1746) |
| OKLCH | oklch(53.06% 0.191 294.1) |
| XYZ | xyz(21.0038, 13.2909, 59.2045) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.87
Purpley
#8756E4
ΔE00 5.48
Iris
#6258C4
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764BCD #A2CD4B
analogous
#4B61CD #764BCD #B74BCD
triadic
#764BCD #CD764B #4BCD76
tetradic
#764BCD #CD4B61 #A2CD4B #4BCDB7
square
#764BCD #CD4B61 #A2CD4B #4BCDB7
split-complementary
#764BCD #CDB74B #61CD4B
monochromatic
#40227B #5830AB #764BCD #9A7BDA #BFABE8
Accessibility & contrast
On white
5.74
#764BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#764BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764BCD
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764BCD | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#5E6985
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #764bcd; /* rgb */ color: rgb(118, 75, 205); /* oklch */ color: oklch(53.1% 0.191 294.1);
Tailwind
colors: {
custom: {
50: '#a480dd',
500: '#764bcd',
950: '#000000',
},
}SCSS
$custom: #764bcd; $custom-light: #a480dd; $custom-dark: #000000;
JSON
{
"hex": "#764bcd",
"rgb": {
"r": 118,
"g": 75,
"b": 205
},
"hsl": {
"h": 259.846,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.53061,
"c": 0.19135,
"h": 294.1
},
"luminance": 0.13291
}Semantic roles & 50–950 ramp
primary
#764BCD
secondary
#C3D59F
accent
#E048AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83