#774AC0#774AC0
#774AC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.177 H 297.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #774AC0 |
|---|---|
| RGB | rgb(119, 74, 192) |
| HSL | hsl(263, 48%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(38%, 61.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.19, 44.41, -55.26) |
| CIE-LCH | lch(42.19, 70.89, 308.79°) |
| OKLab | oklab(52.07% 0.0817 -0.1572) |
| OKLCH | oklch(52.07% 0.177 297.4) |
| XYZ | xyz(19.5685, 12.6250, 51.2648) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.57
Royal Purple
#7851A9
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 5.68
Slate Blue
#6A5ACD
ΔE00 5.86
Bluish Purple
#703BE7
ΔE00 6.08
Iris
#6258C4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AC0 #93C04A
analogous
#4A58C0 #774AC0 #B24AC0
triadic
#774AC0 #C0774A #4AC077
tetradic
#774AC0 #C04A58 #93C04A #4AC0B2
square
#774AC0 #C04A58 #93C04A #4AC0B2
split-complementary
#774AC0 #C0B24A #58C04A
monochromatic
#40256B #5B3598 #774AC0 #9977D0 #BBA5E0
Accessibility & contrast
On white
5.96
#774AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#774AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AC0
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AC0 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#66647E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #774ac0; /* rgb */ color: rgb(119, 74, 192); /* oklch */ color: oklch(52.1% 0.177 297.4);
Tailwind
colors: {
custom: {
50: '#a37fd4',
500: '#774ac0',
950: '#000000',
},
}SCSS
$custom: #774ac0; $custom-light: #a37fd4; $custom-dark: #000000;
JSON
{
"hex": "#774ac0",
"rgb": {
"r": 119,
"g": 74,
"b": 192
},
"hsl": {
"h": 262.881,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.52068,
"c": 0.17713,
"h": 297.4
},
"luminance": 0.12625
}Semantic roles & 50–950 ramp
primary
#774AC0
secondary
#B9CD99
accent
#D850A4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83