#764BCC#764BCC
#764BCC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 294.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #764BCC |
|---|---|
| RGB | rgb(118, 75, 204) |
| HSL | hsl(260, 56%, 55%) |
| HSV | hsv(260, 63%, 80%) |
| CMYK | cmyk(42.2%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(43.13, 46.85, -60.71) |
| CIE-LCH | lch(43.13, 76.69, 307.66°) |
| OKLab | oklab(52.99% 0.0783 -0.1733) |
| OKLCH | oklch(52.99% 0.19 294.3) |
| XYZ | xyz(20.8835, 13.2428, 58.5709) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 4.64
Bluish Purple
#703BE7
ΔE00 4.72
Slate Blue
#6A5ACD
ΔE00 4.89
Iris
#6258C4
ΔE00 5.51
Purpley
#8756E4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764BCC #A1CC4B
analogous
#4B61CC #764BCC #B74BCC
triadic
#764BCC #CC764B #4BCC76
tetradic
#764BCC #CC4B61 #A1CC4B #4BCCB7
square
#764BCC #CC4B61 #A1CC4B #4BCCB7
split-complementary
#764BCC #CCB74B #61CC4B
monochromatic
#40237A #5930AA #764BCC #9A7BDA #BFAAE7
Accessibility & contrast
On white
5.76
#764BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#764BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764BCC
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764BCC | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#5F6985
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #764bcc; /* rgb */ color: rgb(118, 75, 204); /* oklch */ color: oklch(53.0% 0.190 294.3);
Tailwind
colors: {
custom: {
50: '#a47fdc',
500: '#764bcc',
950: '#000000',
},
}SCSS
$custom: #764bcc; $custom-light: #a47fdc; $custom-dark: #000000;
JSON
{
"hex": "#764bcc",
"rgb": {
"r": 118,
"g": 75,
"b": 204
},
"hsl": {
"h": 260,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.52987,
"c": 0.19015,
"h": 294.3
},
"luminance": 0.13243
}Semantic roles & 50–950 ramp
primary
#764BCC
secondary
#C2D59E
accent
#DF49AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83