#764FC9#764FC9
#764FC9 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.181 H 294.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #764FC9 |
|---|---|
| RGB | rgb(118, 79, 201) |
| HSL | hsl(259, 53%, 55%) |
| HSV | hsv(259, 61%, 79%) |
| CMYK | cmyk(41.3%, 60.7%, 0%, 21.2%) |
| CIE-LAB | lab(43.74, 43.84, -57.99) |
| CIE-LCH | lch(43.74, 72.69, 307.09°) |
| OKLab | oklab(53.37% 0.0741 -0.1652) |
| OKLCH | oklch(53.37% 0.181 294.1) |
| XYZ | xyz(20.8070, 13.6600, 56.7874) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.14
Iris
#6258C4
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FC9 #A2C94F
analogous
#4F65C9 #764FC9 #B34FC9
triadic
#764FC9 #C9764F #4FC976
tetradic
#764FC9 #C94F65 #A2C94F #4FC9B3
square
#764FC9 #C94F65 #A2C94F #4FC9B3
split-complementary
#764FC9 #C9B34F #65C94F
monochromatic
#402579 #5833A7 #764FC9 #9A7ED7 #BFADE6
Accessibility & contrast
On white
5.63
#764FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#764FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FC9
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FC9 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#0265C6
Tritanopia (blue-blind)
#606A84
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #764fc9; /* rgb */ color: rgb(118, 79, 201); /* oklch */ color: oklch(53.4% 0.181 294.1);
Tailwind
colors: {
custom: {
50: '#a382da',
500: '#764fc9',
950: '#000000',
},
}SCSS
$custom: #764fc9; $custom-light: #a382da; $custom-dark: #000000;
JSON
{
"hex": "#764fc9",
"rgb": {
"r": 118,
"g": 79,
"b": 201
},
"hsl": {
"h": 259.18,
"s": 53.043,
"l": 54.902
},
"oklch": {
"l": 0.53367,
"c": 0.18108,
"h": 294.1
},
"luminance": 0.13661
}Semantic roles & 50–950 ramp
primary
#764FC9
secondary
#C3D4A0
accent
#DC4BAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83