#764CBF#764CBF
#764CBF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.173 H 296.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #764CBF |
|---|---|
| RGB | rgb(118, 76, 191) |
| HSL | hsl(262, 47%, 52%) |
| HSV | hsv(262, 60%, 75%) |
| CMYK | cmyk(38.2%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.43, 42.82, -54.29) |
| CIE-LCH | lch(42.43, 69.14, 308.26°) |
| OKLab | oklab(52.2% 0.078 -0.1544) |
| OKLCH | oklch(52.2% 0.173 296.8) |
| XYZ | xyz(19.4572, 12.7817, 50.7221) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.44
Iris
#6258C4
ΔE00 5.65
Bluish Purple
#703BE7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CBF #95BF4C
analogous
#4C5CBF #764CBF #AF4CBF
triadic
#764CBF #BF764C #4CBF76
tetradic
#764CBF #BF4C5C #95BF4C #4CBFAF
square
#764CBF #BF4C5C #95BF4C #4CBFAF
split-complementary
#764CBF #BFAF4C #5CBF4C
monochromatic
#3F266B #5A3698 #764CBF #9979CF #BBA6DF
Accessibility & contrast
On white
5.90
#764CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#764CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CBF
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CBF | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1963BC
Tritanopia (blue-blind)
#64657E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #764cbf; /* rgb */ color: rgb(118, 76, 191); /* oklch */ color: oklch(52.2% 0.173 296.8);
Tailwind
colors: {
custom: {
50: '#a280d3',
500: '#764cbf',
950: '#000000',
},
}SCSS
$custom: #764cbf; $custom-light: #a280d3; $custom-dark: #000000;
JSON
{
"hex": "#764cbf",
"rgb": {
"r": 118,
"g": 76,
"b": 191
},
"hsl": {
"h": 261.913,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.52196,
"c": 0.17297,
"h": 296.8
},
"luminance": 0.12782
}Semantic roles & 50–950 ramp
primary
#764CBF
secondary
#BACC9A
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83