#764FCF#764FCF
#764FCF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.188 H 293.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #764FCF |
|---|---|
| RGB | rgb(118, 79, 207) |
| HSL | hsl(258, 57%, 56%) |
| HSV | hsv(258, 62%, 81%) |
| CMYK | cmyk(43%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.16, 45.47, -60.77) |
| CIE-LCH | lch(44.16, 75.90, 306.81°) |
| OKLab | oklab(53.8% 0.0737 -0.1734) |
| OKLCH | oklch(53.8% 0.188 293) |
| XYZ | xyz(21.5266, 13.9479, 60.5774) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.62
Slate Blue
#6A5ACD
ΔE00 3.95
Purpley
#8756E4
ΔE00 4.73
Iris
#6258C4
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 5.06
Bluish Purple
#703BE7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FCF #A8CF4F
analogous
#4F68CF #764FCF #B64FCF
triadic
#764FCF #CF764F #4FCF76
tetradic
#764FCF #CF4F68 #A8CF4F #4FCFB6
square
#764FCF #CF4F68 #A8CF4F #4FCFB6
split-complementary
#764FCF #CFB64F #68CF4F
monochromatic
#402381 #5730B1 #764FCF #9B7FDC #C1AFE9
Accessibility & contrast
On white
5.54
#764FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#764FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FCF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FCF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#5D6C88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #764fcf; /* rgb */ color: rgb(118, 79, 207); /* oklch */ color: oklch(53.8% 0.188 293.0);
Tailwind
colors: {
custom: {
50: '#a482de',
500: '#764fcf',
950: '#000000',
},
}SCSS
$custom: #764fcf; $custom-light: #a482de; $custom-dark: #000000;
JSON
{
"hex": "#764fcf",
"rgb": {
"r": 118,
"g": 79,
"b": 207
},
"hsl": {
"h": 258.281,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.53803,
"c": 0.18845,
"h": 293
},
"luminance": 0.13949
}Semantic roles & 50–950 ramp
primary
#764FCF
secondary
#C7D7A2
accent
#E047B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83