#774BBE#774BBE
#774BBE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.173 H 297.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #774BBE |
|---|---|
| RGB | rgb(119, 75, 190) |
| HSL | hsl(263, 47%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(37.4%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.26, 43.33, -53.98) |
| CIE-LCH | lch(42.26, 69.22, 308.76°) |
| OKLab | oklab(52.08% 0.0806 -0.1534) |
| OKLCH | oklch(52.08% 0.173 297.7) |
| XYZ | xyz(19.4157, 12.6715, 50.1281) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.21
Bluey Purple
#6241C7
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.83
Iris
#6258C4
ΔE00 6.03
Bluish Purple
#703BE7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774BBE #92BE4B
analogous
#4B58BE #774BBE #B14BBE
triadic
#774BBE #BE774B #4BBE77
tetradic
#774BBE #BE4B58 #92BE4B #4BBEB1
square
#774BBE #BE4B58 #92BE4B #4BBEB1
split-complementary
#774BBE #BEB14B #58BE4B
monochromatic
#3F2669 #5B3696 #774BBE #9978CE #BBA5DE
Accessibility & contrast
On white
5.94
#774BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#774BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774BBE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774BBE | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#66647D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #774bbe; /* rgb */ color: rgb(119, 75, 190); /* oklch */ color: oklch(52.1% 0.173 297.7);
Tailwind
colors: {
custom: {
50: '#a37fd2',
500: '#774bbe',
950: '#000000',
},
}SCSS
$custom: #774bbe; $custom-light: #a37fd2; $custom-dark: #000000;
JSON
{
"hex": "#774bbe",
"rgb": {
"r": 119,
"g": 75,
"b": 190
},
"hsl": {
"h": 262.957,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.52077,
"c": 0.17329,
"h": 297.7
},
"luminance": 0.12672
}Semantic roles & 50–950 ramp
primary
#774BBE
secondary
#B8CC99
accent
#D751A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83