#774ED2#774ED2
#774ED2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.193 H 293.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #774ED2 |
|---|---|
| RGB | rgb(119, 78, 210) |
| HSL | hsl(259, 59%, 56%) |
| HSV | hsv(259, 63%, 82%) |
| CMYK | cmyk(43.3%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(44.27, 47.05, -62.32) |
| CIE-LCH | lch(44.27, 78.08, 307.05°) |
| OKLab | oklab(53.97% 0.0759 -0.1779) |
| OKLCH | oklch(53.97% 0.193 293.1) |
| XYZ | xyz(21.9618, 14.0232, 62.5099) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.50
Bluish Purple
#703BE7
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 5.11
Iris
#6258C4
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774ED2 #A9D24E
analogous
#4E67D2 #774ED2 #B94ED2
triadic
#774ED2 #D2774E #4ED277
tetradic
#774ED2 #D24E67 #A9D24E #4ED2B9
square
#774ED2 #D24E67 #A9D24E #4ED2B9
split-complementary
#774ED2 #D2B94E #67D24E
monochromatic
#402284 #582EB5 #774ED2 #9C7FDE #C2B0EB
Accessibility & contrast
On white
5.52
#774ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#774ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774ED2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774ED2 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5D6D89
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #774ed2; /* rgb */ color: rgb(119, 78, 210); /* oklch */ color: oklch(54.0% 0.193 293.1);
Tailwind
colors: {
custom: {
50: '#a582e1',
500: '#774ed2',
950: '#000000',
},
}SCSS
$custom: #774ed2; $custom-light: #a582e1; $custom-dark: #000000;
JSON
{
"hex": "#774ed2",
"rgb": {
"r": 119,
"g": 78,
"b": 210
},
"hsl": {
"h": 258.636,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.53972,
"c": 0.19346,
"h": 293.1
},
"luminance": 0.14024
}Semantic roles & 50–950 ramp
primary
#774ED2
secondary
#C8D9A3
accent
#E345B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83