#774AAA#774AAA
#774AAA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.150 H 303.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #774AAA |
|---|---|
| RGB | rgb(119, 74, 170) |
| HSL | hsl(268, 39%, 48%) |
| HSV | hsv(268, 56%, 67%) |
| CMYK | cmyk(30%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(40.77, 38.72, -44.61) |
| CIE-LCH | lch(40.77, 59.07, 310.96°) |
| OKLab | oklab(50.57% 0.0819 -0.1259) |
| OKLCH | oklch(50.57% 0.15 303.1) |
| XYZ | xyz(17.3106, 11.7218, 39.3730) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.05
Purply
#983FB2
ΔE00 6.74
Rebeccapurple
#663399
ΔE00 6.78
Bluey Purple
#6241C7
ΔE00 7.01
Deep Lavender
#8D5EB7
ΔE00 7.35
Darkorchid
#9932CC
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AAA #7DAA4A
analogous
#4A4DAA #774AAA #A74AAA
triadic
#774AAA #AA774A #4AAA77
tetradic
#774AAA #AA4A4D #7DAA4A #4AAAA7
square
#774AAA #AA4A4D #7DAA4A #4AAAA7
split-complementary
#774AAA #AAA74A #4DAA4A
monochromatic
#3B2555 #59377F #774AAA #9670C1 #B59BD3
Accessibility & contrast
On white
6.28
#774AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#774AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AAA
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AAA | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#6E5D73
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #774aaa; /* rgb */ color: rgb(119, 74, 170); /* oklch */ color: oklch(50.6% 0.150 303.1);
Tailwind
colors: {
custom: {
50: '#a17ec4',
500: '#774aaa',
950: '#000000',
},
}SCSS
$custom: #774aaa; $custom-light: #a17ec4; $custom-dark: #000000;
JSON
{
"hex": "#774aaa",
"rgb": {
"r": 119,
"g": 74,
"b": 170
},
"hsl": {
"h": 268.125,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.50572,
"c": 0.15023,
"h": 303.1
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#774AAA
secondary
#A9C090
accent
#CF5998
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82