#764CD3#764CD3
#764CD3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.197 H 292.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #764CD3 |
|---|---|
| RGB | rgb(118, 76, 211) |
| HSL | hsl(259, 61%, 56%) |
| HSV | hsv(259, 64%, 83%) |
| CMYK | cmyk(44.1%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(43.83, 48.21, -63.60) |
| CIE-LCH | lch(43.83, 79.81, 307.16°) |
| OKLab | oklab(53.66% 0.0766 -0.1817) |
| OKLCH | oklch(53.66% 0.197 292.9) |
| XYZ | xyz(21.8103, 13.7229, 63.1150) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.25
Bluish Purple
#703BE7
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 4.69
Purpley
#8756E4
ΔE00 4.83
Purpleish Blue
#6140EF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CD3 #A9D34C
analogous
#4C66D3 #764CD3 #BA4CD3
triadic
#764CD3 #D3764C #4CD376
tetradic
#764CD3 #D34C66 #A9D34C #4CD3BA
square
#764CD3 #D34C66 #A9D34C #4CD3BA
split-complementary
#764CD3 #D3BA4C #66D34C
monochromatic
#3F2084 #572DB5 #764CD3 #9C7DDF #C1AEEB
Accessibility & contrast
On white
5.61
#764CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#764CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CD3
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CD3 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#5B6C89
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #764cd3; /* rgb */ color: rgb(118, 76, 211); /* oklch */ color: oklch(53.7% 0.197 292.9);
Tailwind
colors: {
custom: {
50: '#a480e1',
500: '#764cd3',
950: '#000000',
},
}SCSS
$custom: #764cd3; $custom-light: #a480e1; $custom-dark: #000000;
JSON
{
"hex": "#764cd3",
"rgb": {
"r": 118,
"g": 76,
"b": 211
},
"hsl": {
"h": 258.667,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.53657,
"c": 0.19723,
"h": 292.9
},
"luminance": 0.13724
}Semantic roles & 50–950 ramp
primary
#764CD3
secondary
#C8D9A2
accent
#E444B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83