#784AB9#784AB9
#784AB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.169 H 299.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #784AB9 |
|---|---|
| RGB | rgb(120, 74, 185) |
| HSL | hsl(265, 44%, 51%) |
| HSV | hsv(265, 60%, 73%) |
| CMYK | cmyk(35.1%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(41.83, 42.81, -51.74) |
| CIE-LCH | lch(41.83, 67.15, 309.60°) |
| OKLab | oklab(51.68% 0.0833 -0.1468) |
| OKLCH | oklch(51.68% 0.169 299.6) |
| XYZ | xyz(18.9493, 12.3932, 47.2833) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.58
Bluey Purple
#6241C7
ΔE00 5.27
Light Indigo
#6D5ACF
ΔE00 6.45
Slate Blue
#6A5ACD
ΔE00 6.59
Iris
#6258C4
ΔE00 6.68
Darkorchid
#9932CC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784AB9 #8BB94A
analogous
#4A53B9 #784AB9 #AF4AB9
triadic
#784AB9 #B9784A #4AB978
tetradic
#784AB9 #B94A53 #8BB94A #4AB9AF
square
#784AB9 #B94A53 #8BB94A #4AB9AF
split-complementary
#784AB9 #B9AF4A #53B94A
monochromatic
#3F2663 #5B378F #784AB9 #9976CA #BAA2DB
Accessibility & contrast
On white
6.04
#784AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#784AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784AB9
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784AB9 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0463BD
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#6A617A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #784ab9; /* rgb */ color: rgb(120, 74, 185); /* oklch */ color: oklch(51.7% 0.169 299.6);
Tailwind
colors: {
custom: {
50: '#a37fcf',
500: '#784ab9',
950: '#000000',
},
}SCSS
$custom: #784ab9; $custom-light: #a37fcf; $custom-dark: #000000;
JSON
{
"hex": "#784ab9",
"rgb": {
"r": 120,
"g": 74,
"b": 185
},
"hsl": {
"h": 264.865,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.51682,
"c": 0.16879,
"h": 299.6
},
"luminance": 0.12393
}Semantic roles & 50–950 ramp
primary
#784AB9
secondary
#B4C897
accent
#D4549F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82