#774CC7#774CC7
#774CC7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.183 H 295.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #774CC7 |
|---|---|
| RGB | rgb(119, 76, 199) |
| HSL | hsl(261, 52%, 54%) |
| HSV | hsv(261, 62%, 78%) |
| CMYK | cmyk(40.2%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(43.08, 45.17, -57.89) |
| CIE-LCH | lch(43.08, 73.43, 307.97°) |
| OKLab | oklab(52.87% 0.0789 -0.1649) |
| OKLCH | oklch(52.87% 0.183 295.6) |
| XYZ | xyz(20.4983, 13.2139, 55.4923) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 4.98
Royal Purple
#7851A9
ΔE00 5.42
Bluish Purple
#703BE7
ΔE00 5.46
Iris
#6258C4
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774CC7 #9CC74C
analogous
#4C5FC7 #774CC7 #B54CC7
triadic
#774CC7 #C7774C #4CC777
tetradic
#774CC7 #C74C5F #9CC74C #4CC7B5
square
#774CC7 #C74C5F #9CC74C #4CC7B5
split-complementary
#774CC7 #C7B54C #5FC74C
monochromatic
#402474 #5A33A3 #774CC7 #9A7BD6 #BEA9E4
Accessibility & contrast
On white
5.76
#774CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#774CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774CC7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774CC7 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#636882
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #774cc7; /* rgb */ color: rgb(119, 76, 199); /* oklch */ color: oklch(52.9% 0.183 295.6);
Tailwind
colors: {
custom: {
50: '#a480d9',
500: '#774cc7',
950: '#000000',
},
}SCSS
$custom: #774cc7; $custom-light: #a480d9; $custom-dark: #000000;
JSON
{
"hex": "#774cc7",
"rgb": {
"r": 119,
"g": 76,
"b": 199
},
"hsl": {
"h": 260.976,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.52869,
"c": 0.18283,
"h": 295.6
},
"luminance": 0.13214
}Semantic roles & 50–950 ramp
primary
#774CC7
secondary
#BFD29D
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83