#784ABF#784ABF
#784ABF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.176 H 298.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #784ABF |
|---|---|
| RGB | rgb(120, 74, 191) |
| HSL | hsl(264, 48%, 52%) |
| HSV | hsv(264, 61%, 75%) |
| CMYK | cmyk(37.2%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(42.23, 44.37, -54.60) |
| CIE-LCH | lch(42.23, 70.36, 309.10°) |
| OKLab | oklab(52.1% 0.083 -0.1552) |
| OKLCH | oklch(52.1% 0.176 298.1) |
| XYZ | xyz(19.5961, 12.6520, 50.6898) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.28
Iris
#6258C4
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784ABF #91BF4A
analogous
#4A57BF #784ABF #B34ABF
triadic
#784ABF #BF784A #4ABF78
tetradic
#784ABF #BF4A57 #91BF4A #4ABFB3
square
#784ABF #BF4A57 #91BF4A #4ABFB3
split-complementary
#784ABF #BFB34A #57BF4A
monochromatic
#402569 #5C3597 #784ABF #9A77CF #BBA4DF
Accessibility & contrast
On white
5.95
#784ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#784ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784ABF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784ABF | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#68637D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784abf; /* rgb */ color: rgb(120, 74, 191); /* oklch */ color: oklch(52.1% 0.176 298.1);
Tailwind
colors: {
custom: {
50: '#a47fd3',
500: '#784abf',
950: '#000000',
},
}SCSS
$custom: #784abf; $custom-light: #a47fd3; $custom-dark: #000000;
JSON
{
"hex": "#784abf",
"rgb": {
"r": 120,
"g": 74,
"b": 191
},
"hsl": {
"h": 263.59,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.52101,
"c": 0.17605,
"h": 298.1
},
"luminance": 0.12652
}Semantic roles & 50–950 ramp
primary
#784ABF
secondary
#B8CC99
accent
#D750A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83