#774BBB#774BBB
#774BBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.170 H 298.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #774BBB |
|---|---|
| RGB | rgb(119, 75, 187) |
| HSL | hsl(264, 45%, 51%) |
| HSV | hsv(264, 60%, 73%) |
| CMYK | cmyk(36.4%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(42.06, 42.54, -52.55) |
| CIE-LCH | lch(42.06, 67.61, 309.00°) |
| OKLab | oklab(51.87% 0.0807 -0.1492) |
| OKLCH | oklch(51.87% 0.17 298.4) |
| XYZ | xyz(19.0912, 12.5417, 48.4190) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.11
Iris
#6258C4
ΔE00 6.22
Bluish Purple
#703BE7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774BBB #8FBB4B
analogous
#4B57BB #774BBB #AF4BBB
triadic
#774BBB #BB774B #4BBB77
tetradic
#774BBB #BB4B57 #8FBB4B #4BBBAF
square
#774BBB #BB4B57 #8FBB4B #4BBBAF
split-complementary
#774BBB #BBAF4B #57BB4B
monochromatic
#3F2665 #5B3792 #774BBB #9977CC #BAA4DD
Accessibility & contrast
On white
5.99
#774BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#774BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774BBB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774BBB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#68637C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #774bbb; /* rgb */ color: rgb(119, 75, 187); /* oklch */ color: oklch(51.9% 0.170 298.4);
Tailwind
colors: {
custom: {
50: '#a37fd0',
500: '#774bbb',
950: '#000000',
},
}SCSS
$custom: #774bbb; $custom-light: #a37fd0; $custom-dark: #000000;
JSON
{
"hex": "#774bbb",
"rgb": {
"r": 119,
"g": 75,
"b": 187
},
"hsl": {
"h": 263.571,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.51867,
"c": 0.16963,
"h": 298.4
},
"luminance": 0.12542
}Semantic roles & 50–950 ramp
primary
#774BBB
secondary
#B6CA98
accent
#D553A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82