#774CA7#774CA7
#774CA7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.143 H 303.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #774CA7 |
|---|---|
| RGB | rgb(119, 76, 167) |
| HSL | hsl(268, 37%, 48%) |
| HSV | hsv(268, 54%, 65%) |
| CMYK | cmyk(28.7%, 54.5%, 0%, 34.5%) |
| CIE-LAB | lab(41.03, 36.82, -42.42) |
| CIE-LCH | lch(41.03, 56.17, 310.96°) |
| OKLab | oklab(50.7% 0.0791 -0.1195) |
| OKLCH | oklch(50.7% 0.143 303.5) |
| XYZ | xyz(17.1657, 11.8809, 37.9406) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.45
Purply
#983FB2
ΔE00 6.93
Deep Lavender
#8D5EB7
ΔE00 7.01
Rebeccapurple
#663399
ΔE00 7.17
Bluey Purple
#6241C7
ΔE00 7.70
Iris
#6258C4
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774CA7 #7CA74C
analogous
#4C4EA7 #774CA7 #A54CA7
triadic
#774CA7 #A7774C #4CA777
tetradic
#774CA7 #A74C4E #7CA74C #4CA7A5
square
#774CA7 #A74C4E #7CA74C #4CA7A5
split-complementary
#774CA7 #A7A54C #4EA74C
monochromatic
#3B2653 #59397D #774CA7 #9672BF #B59CD2
Accessibility & contrast
On white
6.22
#774CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#774CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774CA7
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774CA7 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#6E5D72
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #774ca7; /* rgb */ color: rgb(119, 76, 167); /* oklch */ color: oklch(50.7% 0.143 303.5);
Tailwind
colors: {
custom: {
50: '#a17fc2',
500: '#774ca7',
950: '#000000',
},
}SCSS
$custom: #774ca7; $custom-light: #a17fc2; $custom-dark: #000000;
JSON
{
"hex": "#774ca7",
"rgb": {
"r": 119,
"g": 76,
"b": 167
},
"hsl": {
"h": 268.352,
"s": 37.449,
"l": 47.647
},
"oklch": {
"l": 0.50703,
"c": 0.14333,
"h": 303.5
},
"luminance": 0.11881
}Semantic roles & 50–950 ramp
primary
#774CA7
secondary
#A9BE90
accent
#CD5A97
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81