#774DB5#774DB5
#774DB5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.159 H 299.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #774DB5 |
|---|---|
| RGB | rgb(119, 77, 181) |
| HSL | hsl(264, 41%, 51%) |
| HSV | hsv(264, 57%, 71%) |
| CMYK | cmyk(34.3%, 57.5%, 0%, 29%) |
| CIE-LAB | lab(42.10, 39.85, -48.97) |
| CIE-LCH | lch(42.10, 63.13, 309.14°) |
| OKLab | oklab(51.77% 0.0783 -0.1387) |
| OKLCH | oklch(51.77% 0.159 299.4) |
| XYZ | xyz(18.6001, 12.5657, 45.1526) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.63
Bluey Purple
#6241C7
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.31
Iris
#6258C4
ΔE00 6.41
Slate Blue
#6A5ACD
ΔE00 6.42
Deep Lavender
#8D5EB7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774DB5 #8BB54D
analogous
#4D57B5 #774DB5 #AB4DB5
triadic
#774DB5 #B5774D #4DB577
tetradic
#774DB5 #B54D57 #8BB54D #4DB5AB
square
#774DB5 #B54D57 #8BB54D #4DB5AB
split-complementary
#774DB5 #B5AB4D #57B54D
monochromatic
#3E2860 #5B3A8B #774DB5 #9878C7 #B9A3D9
Accessibility & contrast
On white
5.98
#774DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#774DB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774DB5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774DB5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#6A6279
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #774db5; /* rgb */ color: rgb(119, 77, 181); /* oklch */ color: oklch(51.8% 0.159 299.4);
Tailwind
colors: {
custom: {
50: '#a280cc',
500: '#774db5',
950: '#000000',
},
}SCSS
$custom: #774db5; $custom-light: #a280cc; $custom-dark: #000000;
JSON
{
"hex": "#774db5",
"rgb": {
"r": 119,
"g": 77,
"b": 181
},
"hsl": {
"h": 264.231,
"s": 41.27,
"l": 50.588
},
"oklch": {
"l": 0.5177,
"c": 0.15927,
"h": 299.4
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#774DB5
secondary
#B3C698
accent
#D157A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82