#774EE2#774EE2
#774EE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.213 H 290.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #774EE2 |
|---|---|
| RGB | rgb(119, 78, 226) |
| HSL | hsl(257, 72%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(47.3%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(45.44, 51.43, -69.54) |
| CIE-LCH | lch(45.44, 86.49, 306.49°) |
| OKLab | oklab(55.19% 0.0742 -0.1992) |
| OKLCH | oklch(55.19% 0.213 290.4) |
| XYZ | xyz(24.0557, 14.8608, 73.5377) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.60
Bluish Purple
#703BE7
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.34
Purpleish Blue
#6140EF
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774EE2 #B9E24E
analogous
#4E6FE2 #774EE2 #C14EE2
triadic
#774EE2 #E2774E #4EE277
tetradic
#774EE2 #E24E6F #B9E24E #4EE2C1
square
#774EE2 #E24E6F #B9E24E #4EE2C1
split-complementary
#774EE2 #E2C14E #6FE24E
monochromatic
#3E1A9C #5322D1 #774EE2 #9F83EB #C8B7F3
Accessibility & contrast
On white
5.29
#774EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#774EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774EE2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774EE2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#557291
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #774ee2; /* rgb */ color: rgb(119, 78, 226); /* oklch */ color: oklch(55.2% 0.213 290.4);
Tailwind
colors: {
custom: {
50: '#a682ec',
500: '#774ee2',
950: '#000000',
},
}SCSS
$custom: #774ee2; $custom-light: #a682ec; $custom-dark: #000000;
JSON
{
"hex": "#774ee2",
"rgb": {
"r": 119,
"g": 78,
"b": 226
},
"hsl": {
"h": 256.622,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.55192,
"c": 0.21257,
"h": 290.4
},
"luminance": 0.14862
}Semantic roles & 50–950 ramp
primary
#774EE2
secondary
#D3E3A9
accent
#EF39BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84