#774FA2#774FA2
#774FA2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.132 H 304.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #774FA2 |
|---|---|
| RGB | rgb(119, 79, 162) |
| HSL | hsl(269, 34%, 47%) |
| HSV | hsv(269, 51%, 64%) |
| CMYK | cmyk(26.5%, 51.2%, 0%, 36.5%) |
| CIE-LAB | lab(41.41, 33.83, -38.83) |
| CIE-LCH | lch(41.41, 51.50, 311.07°) |
| OKLab | oklab(50.89% 0.0746 -0.109) |
| OKLCH | oklch(50.89% 0.132 304.4) |
| XYZ | xyz(16.9239, 12.1226, 35.6237) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.38
Deep Lavender
#8D5EB7
ΔE00 6.66
Purply
#983FB2
ΔE00 7.43
Rebeccapurple
#663399
ΔE00 7.96
Iris
#6258C4
ΔE00 8.74
Medium Purple
#9E43A2
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774FA2 #7AA24F
analogous
#4F50A2 #774FA2 #A14FA2
triadic
#774FA2 #A2774F #4FA277
tetradic
#774FA2 #A24F50 #7AA24F #4FA2A1
square
#774FA2 #A24F50 #7AA24F #4FA2A1
split-complementary
#774FA2 #A2A14F #50A24F
monochromatic
#3B2750 #593B79 #774FA2 #9673BB #B59CCF
Accessibility & contrast
On white
6.13
#774FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#774FA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774FA2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774FA2 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#705E71
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774fa2; /* rgb */ color: rgb(119, 79, 162); /* oklch */ color: oklch(50.9% 0.132 304.4);
Tailwind
colors: {
custom: {
50: '#a081be',
500: '#774fa2',
950: '#000000',
},
}SCSS
$custom: #774fa2; $custom-light: #a081be; $custom-dark: #000000;
JSON
{
"hex": "#774fa2",
"rgb": {
"r": 119,
"g": 79,
"b": 162
},
"hsl": {
"h": 268.916,
"s": 34.44,
"l": 47.255
},
"oklch": {
"l": 0.50894,
"c": 0.1321,
"h": 304.4
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#774FA2
secondary
#A7BC91
accent
#CB5D96
background
#FAF8FB
surface
#F3EFF7
border
#CDCAD0
text
#0F0A12
muted
#7F7C81