#774AE2#774AE2
#774AE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.217 H 291.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #774AE2 |
|---|---|
| RGB | rgb(119, 74, 226) |
| HSL | hsl(258, 72%, 59%) |
| HSV | hsv(258, 67%, 89%) |
| CMYK | cmyk(47.3%, 67.3%, 0%, 11.4%) |
| CIE-LAB | lab(44.67, 53.54, -70.79) |
| CIE-LCH | lch(44.67, 88.76, 307.10°) |
| OKLab | oklab(54.64% 0.0781 -0.2029) |
| OKLCH | oklch(54.64% 0.217 291) |
| XYZ | xyz(23.7801, 14.3096, 73.4458) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.37
Purpleish Blue
#6140EF
ΔE00 4.02
Purpley
#8756E4
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.41
Burple
#6832E3
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AE2 #B5E24A
analogous
#4A69E2 #774AE2 #C34AE2
triadic
#774AE2 #E2774A #4AE277
tetradic
#774AE2 #E24A69 #B5E24A #4AE2C3
square
#774AE2 #E24A69 #B5E24A #4AE2C3
split-complementary
#774AE2 #E2C34A #69E24A
monochromatic
#3F1999 #5421CE #774AE2 #9F7FEA #C6B3F3
Accessibility & contrast
On white
5.44
#774AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#774AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AE2
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AE2 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#557090
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #774ae2; /* rgb */ color: rgb(119, 74, 226); /* oklch */ color: oklch(54.6% 0.217 291.0);
Tailwind
colors: {
custom: {
50: '#a780ec',
500: '#774ae2',
950: '#000000',
},
}SCSS
$custom: #774ae2; $custom-light: #a780ec; $custom-dark: #000000;
JSON
{
"hex": "#774ae2",
"rgb": {
"r": 119,
"g": 74,
"b": 226
},
"hsl": {
"h": 257.763,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.5464,
"c": 0.21736,
"h": 291
},
"luminance": 0.1431
}Semantic roles & 50–950 ramp
primary
#774AE2
secondary
#D0E2A6
accent
#EF39B9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84