#774EE5#774EE5
#774EE5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.216 H 290.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #774EE5 |
|---|---|
| RGB | rgb(119, 78, 229) |
| HSL | hsl(256, 74%, 60%) |
| HSV | hsv(256, 66%, 90%) |
| CMYK | cmyk(48%, 65.9%, 0%, 10.2%) |
| CIE-LAB | lab(45.67, 52.26, -70.87) |
| CIE-LCH | lch(45.67, 88.05, 306.41°) |
| OKLab | oklab(55.43% 0.0738 -0.2031) |
| OKLCH | oklch(55.43% 0.216 290) |
| XYZ | xyz(24.4710, 15.0269, 75.7246) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.55
Bluish Purple
#703BE7
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.53
Purpleish Blue
#6140EF
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774EE5 #BCE54E
analogous
#4E71E5 #774EE5 #C24EE5
triadic
#774EE5 #E5774E #4EE577
tetradic
#774EE5 #E54E71 #BCE54E #4EE5C2
square
#774EE5 #E54E71 #BCE54E #4EE5C2
split-complementary
#774EE5 #E5C24E #71E54E
monochromatic
#3D18A1 #511FD6 #774EE5 #A083ED #C9B9F5
Accessibility & contrast
On white
5.24
#774EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#774EE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774EE5
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774EE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774EE5 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#537393
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #774ee5; /* rgb */ color: rgb(119, 78, 229); /* oklch */ color: oklch(55.4% 0.216 290.0);
Tailwind
colors: {
custom: {
50: '#a782ee',
500: '#774ee5',
950: '#000000',
},
}SCSS
$custom: #774ee5; $custom-light: #a782ee; $custom-dark: #000000;
JSON
{
"hex": "#774ee5",
"rgb": {
"r": 119,
"g": 78,
"b": 229
},
"hsl": {
"h": 256.291,
"s": 74.384,
"l": 60.196
},
"oklch": {
"l": 0.55428,
"c": 0.2161,
"h": 290
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#774EE5
secondary
#D5E4AA
accent
#D70FA0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84