#764FCB#764FCB
#764FCB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.184 H 293.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #764FCB |
|---|---|
| RGB | rgb(118, 79, 203) |
| HSL | hsl(259, 54%, 55%) |
| HSV | hsv(259, 61%, 80%) |
| CMYK | cmyk(41.9%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(43.88, 44.38, -58.92) |
| CIE-LCH | lch(43.88, 73.76, 306.99°) |
| OKLab | oklab(53.51% 0.074 -0.168) |
| OKLCH | oklch(53.51% 0.184 293.8) |
| XYZ | xyz(21.0438, 13.7548, 58.0345) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.06
Iris
#6258C4
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.12
Bluish Purple
#703BE7
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764FCB #A4CB4F
analogous
#4F66CB #764FCB #B44FCB
triadic
#764FCB #CB764F #4FCB76
tetradic
#764FCB #CB4F66 #A4CB4F #4FCBB4
square
#764FCB #CB4F66 #A4CB4F #4FCBB4
split-complementary
#764FCB #CBB44F #66CB4F
monochromatic
#40247B #5832AA #764FCB #9B7ED9 #C0ADE7
Accessibility & contrast
On white
5.60
#764FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#764FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764FCB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764FCB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#5F6B85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #764fcb; /* rgb */ color: rgb(118, 79, 203); /* oklch */ color: oklch(53.5% 0.184 293.8);
Tailwind
colors: {
custom: {
50: '#a382dc',
500: '#764fcb',
950: '#000000',
},
}SCSS
$custom: #764fcb; $custom-light: #a382dc; $custom-dark: #000000;
JSON
{
"hex": "#764fcb",
"rgb": {
"r": 118,
"g": 79,
"b": 203
},
"hsl": {
"h": 258.871,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.53511,
"c": 0.18355,
"h": 293.8
},
"luminance": 0.13755
}Semantic roles & 50–950 ramp
primary
#764FCB
secondary
#C5D5A1
accent
#DE4AAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83