#774DAF#774DAF
#774DAF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.152 H 301.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #774DAF |
|---|---|
| RGB | rgb(119, 77, 175) |
| HSL | hsl(266, 39%, 49%) |
| HSV | hsv(266, 56%, 69%) |
| CMYK | cmyk(32%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(41.73, 38.29, -46.03) |
| CIE-LCH | lch(41.73, 59.88, 309.75°) |
| OKLab | oklab(51.38% 0.0781 -0.1301) |
| OKLCH | oklch(51.38% 0.152 301) |
| XYZ | xyz(17.9977, 12.3248, 41.9799) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.75
Bluey Purple
#6241C7
ΔE00 6.65
Deep Lavender
#8D5EB7
ΔE00 6.74
Iris
#6258C4
ΔE00 7.07
Purply
#983FB2
ΔE00 7.12
Light Indigo
#6D5ACF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774DAF #85AF4D
analogous
#4D54AF #774DAF #A84DAF
triadic
#774DAF #AF774D #4DAF77
tetradic
#774DAF #AF4D54 #85AF4D #4DAFA8
square
#774DAF #AF4D54 #85AF4D #4DAFA8
split-complementary
#774DAF #AFA84D #54AF4D
monochromatic
#3D285A #5A3A85 #774DAF #9776C3 #B7A1D6
Accessibility & contrast
On white
6.06
#774DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#774DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774DAF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774DAF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#6C6076
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774daf; /* rgb */ color: rgb(119, 77, 175); /* oklch */ color: oklch(51.4% 0.152 301.0);
Tailwind
colors: {
custom: {
50: '#a180c7',
500: '#774daf',
950: '#000000',
},
}SCSS
$custom: #774daf; $custom-light: #a180c7; $custom-dark: #000000;
JSON
{
"hex": "#774daf",
"rgb": {
"r": 119,
"g": 77,
"b": 175
},
"hsl": {
"h": 265.714,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.51375,
"c": 0.15177,
"h": 301
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#774DAF
secondary
#AFC395
accent
#CF599C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82