#764FC0#764FC0
#764FC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.170 H 296.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #764FC0 |
|---|---|
| RGB | rgb(118, 79, 192) |
| HSL | hsl(261, 47%, 53%) |
| HSV | hsv(261, 59%, 75%) |
| CMYK | cmyk(38.5%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.14, 41.40, -53.74) |
| CIE-LCH | lch(43.14, 67.84, 307.61°) |
| OKLab | oklab(52.73% 0.0744 -0.1528) |
| OKLCH | oklch(52.73% 0.17 296) |
| XYZ | xyz(19.7792, 13.2489, 51.3742) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.28
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 4.77
Iris
#6258C4
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.20
Purpley
#8756E4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FC0 #99C04F
analogous
#4F60C0 #764FC0 #AE4FC0
triadic
#764FC0 #C0764F #4FC076
tetradic
#764FC0 #C04F60 #99C04F #4FC0AE
square
#764FC0 #C04F60 #99C04F #4FC0AE
split-complementary
#764FC0 #C0AE4F #60C04F
monochromatic
#3F276D #5A379A #764FC0 #997CD0 #BCA9E0
Accessibility & contrast
On white
5.75
#764FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#764FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FC0
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FC0 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0667C4
Deuteranopia (green-blind)
#1F64BE
Tritanopia (blue-blind)
#646780
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #764fc0; /* rgb */ color: rgb(118, 79, 192); /* oklch */ color: oklch(52.7% 0.170 296.0);
Tailwind
colors: {
custom: {
50: '#a282d4',
500: '#764fc0',
950: '#000000',
},
}SCSS
$custom: #764fc0; $custom-light: #a282d4; $custom-dark: #000000;
JSON
{
"hex": "#764fc0",
"rgb": {
"r": 118,
"g": 79,
"b": 192
},
"hsl": {
"h": 260.708,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.52732,
"c": 0.16991,
"h": 296
},
"luminance": 0.13249
}Semantic roles & 50–950 ramp
primary
#764FC0
secondary
#BDCE9D
accent
#D751A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83