#774F99#774F99
#774F99 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.121 H 307.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #774F99 |
|---|---|
| RGB | rgb(119, 79, 153) |
| HSL | hsl(272, 32%, 45%) |
| HSV | hsv(272, 48%, 60%) |
| CMYK | cmyk(22.2%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(40.92, 31.61, -34.22) |
| CIE-LCH | lch(40.92, 46.59, 312.73°) |
| OKLab | oklab(50.37% 0.0735 -0.0956) |
| OKLCH | oklch(50.37% 0.121 307.6) |
| XYZ | xyz(16.1524, 11.8140, 31.5602) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.21
Deep Lavender
#8D5EB7
ΔE00 7.40
Light Eggplant
#894585
ΔE00 7.56
Muted Purple
#805B87
ΔE00 7.90
Purply
#983FB2
ΔE00 7.96
Rebeccapurple
#663399
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774F99 #71994F
analogous
#524F99 #774F99 #994F96
triadic
#774F99 #99774F #4F9977
tetradic
#774F99 #99524F #71994F #4F9699
square
#774F99 #99524F #71994F #4F9699
split-complementary
#774F99 #96994F #4F9952
monochromatic
#382548 #583A71 #774F99 #9570B5 #B398CA
Accessibility & contrast
On white
6.24
#774F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#774F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774F99
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774F99 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#725B6D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #774f99; /* rgb */ color: rgb(119, 79, 153); /* oklch */ color: oklch(50.4% 0.121 307.6);
Tailwind
colors: {
custom: {
50: '#a081b7',
500: '#774f99',
950: '#000000',
},
}SCSS
$custom: #774f99; $custom-light: #a081b7; $custom-dark: #000000;
JSON
{
"hex": "#774f99",
"rgb": {
"r": 119,
"g": 79,
"b": 153
},
"hsl": {
"h": 272.432,
"s": 31.897,
"l": 45.49
},
"oklch": {
"l": 0.50368,
"c": 0.12061,
"h": 307.6
},
"luminance": 0.11814
}Semantic roles & 50–950 ramp
primary
#774F99
secondary
#A0B78D
accent
#C86090
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80