#764FCC#764FCC
#764FCC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.185 H 293.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #764FCC |
|---|---|
| RGB | rgb(118, 79, 204) |
| HSL | hsl(259, 55%, 55%) |
| HSV | hsv(259, 61%, 80%) |
| CMYK | cmyk(42.2%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(43.95, 44.65, -59.38) |
| CIE-LCH | lch(43.95, 74.30, 306.94°) |
| OKLab | oklab(53.58% 0.0739 -0.1694) |
| OKLCH | oklch(53.58% 0.185 293.6) |
| XYZ | xyz(21.1633, 13.8026, 58.6642) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.02
Iris
#6258C4
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.99
Purpley
#8756E4
ΔE00 5.02
Bluish Purple
#703BE7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FCC #A5CC4F
analogous
#4F66CC #764FCC #B44FCC
triadic
#764FCC #CC764F #4FCC76
tetradic
#764FCC #CC4F66 #A5CC4F #4FCCB4
square
#764FCC #CC4F66 #A5CC4F #4FCCB4
split-complementary
#764FCC #CCB44F #66CC4F
monochromatic
#40247D #5832AC #764FCC #9B7EDA #C0AEE7
Accessibility & contrast
On white
5.58
#764FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#764FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FCC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FCC | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#5F6B86
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #764fcc; /* rgb */ color: rgb(118, 79, 204); /* oklch */ color: oklch(53.6% 0.185 293.6);
Tailwind
colors: {
custom: {
50: '#a382dc',
500: '#764fcc',
950: '#000000',
},
}SCSS
$custom: #764fcc; $custom-light: #a382dc; $custom-dark: #000000;
JSON
{
"hex": "#764fcc",
"rgb": {
"r": 118,
"g": 79,
"b": 204
},
"hsl": {
"h": 258.72,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.53584,
"c": 0.18478,
"h": 293.6
},
"luminance": 0.13803
}Semantic roles & 50–950 ramp
primary
#764FCC
secondary
#C5D5A1
accent
#DE49B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83