#774AB2#774AB2
#774AB2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.160 H 300.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #774AB2 |
|---|---|
| RGB | rgb(119, 74, 178) |
| HSL | hsl(266, 41%, 49%) |
| HSV | hsv(266, 58%, 70%) |
| CMYK | cmyk(33.1%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.27, 40.76, -48.54) |
| CIE-LCH | lch(41.27, 63.38, 310.02°) |
| OKLab | oklab(51.1% 0.082 -0.1374) |
| OKLCH | oklch(51.1% 0.16 300.8) |
| XYZ | xyz(18.0905, 12.0338, 43.4805) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.74
Bluey Purple
#6241C7
ΔE00 5.89
Purply
#983FB2
ΔE00 6.94
Iris
#6258C4
ΔE00 7.16
Light Indigo
#6D5ACF
ΔE00 7.18
Rebeccapurple
#663399
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AB2 #85B24A
analogous
#4A51B2 #774AB2 #AB4AB2
triadic
#774AB2 #B2774A #4AB277
tetradic
#774AB2 #B24A51 #85B24A #4AB2AB
square
#774AB2 #B24A51 #85B24A #4AB2AB
split-complementary
#774AB2 #B2AB4A #51B24A
monochromatic
#3D265C #5A3887 #774AB2 #9774C5 #B79FD7
Accessibility & contrast
On white
6.16
#774AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#774AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AB2
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AB2 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#6B5F77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #774ab2; /* rgb */ color: rgb(119, 74, 178); /* oklch */ color: oklch(51.1% 0.160 300.8);
Tailwind
colors: {
custom: {
50: '#a27eca',
500: '#774ab2',
950: '#000000',
},
}SCSS
$custom: #774ab2; $custom-light: #a27eca; $custom-dark: #000000;
JSON
{
"hex": "#774ab2",
"rgb": {
"r": 119,
"g": 74,
"b": 178
},
"hsl": {
"h": 265.962,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.51099,
"c": 0.16007,
"h": 300.8
},
"luminance": 0.12034
}Semantic roles & 50–950 ramp
primary
#774AB2
secondary
#AFC494
accent
#D1579C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82