#774ABA#774ABA
#774ABA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.170 H 298.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #774ABA |
|---|---|
| RGB | rgb(119, 74, 186) |
| HSL | hsl(264, 45%, 51%) |
| HSV | hsv(264, 60%, 73%) |
| CMYK | cmyk(36%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(41.79, 42.84, -52.40) |
| CIE-LCH | lch(41.79, 67.68, 309.26°) |
| OKLab | oklab(51.65% 0.0819 -0.1488) |
| OKLCH | oklch(51.65% 0.17 298.8) |
| XYZ | xyz(18.9173, 12.3645, 47.8348) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.77
Bluey Purple
#6241C7
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 6.25
Slate Blue
#6A5ACD
ΔE00 6.39
Iris
#6258C4
ΔE00 6.46
Bluish Purple
#703BE7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774ABA #8DBA4A
analogous
#4A55BA #774ABA #AF4ABA
triadic
#774ABA #BA774A #4ABA77
tetradic
#774ABA #BA4A55 #8DBA4A #4ABAAF
square
#774ABA #BA4A55 #8DBA4A #4ABAAF
split-complementary
#774ABA #BAAF4A #55BA4A
monochromatic
#3F2664 #5B3790 #774ABA #9876CB #BAA3DC
Accessibility & contrast
On white
6.05
#774ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#774ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774ABA
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774ABA | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#68627B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #774aba; /* rgb */ color: rgb(119, 74, 186); /* oklch */ color: oklch(51.6% 0.170 298.8);
Tailwind
colors: {
custom: {
50: '#a37ecf',
500: '#774aba',
950: '#000000',
},
}SCSS
$custom: #774aba; $custom-light: #a37ecf; $custom-dark: #000000;
JSON
{
"hex": "#774aba",
"rgb": {
"r": 119,
"g": 74,
"b": 186
},
"hsl": {
"h": 264.107,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.51646,
"c": 0.16985,
"h": 298.8
},
"luminance": 0.12365
}Semantic roles & 50–950 ramp
primary
#774ABA
secondary
#B5C997
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82