#784BB3#784BB3
#784BB3 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.160 H 300.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #784BB3 |
|---|---|
| RGB | rgb(120, 75, 179) |
| HSL | hsl(266, 41%, 50%) |
| HSV | hsv(266, 58%, 70%) |
| CMYK | cmyk(33%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(41.66, 40.70, -48.50) |
| CIE-LCH | lch(41.66, 63.32, 310.00°) |
| OKLab | oklab(51.43% 0.0821 -0.1373) |
| OKLCH | oklch(51.43% 0.16 300.9) |
| XYZ | xyz(18.3966, 12.2798, 44.0401) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.62
Bluey Purple
#6241C7
ΔE00 6.04
Purply
#983FB2
ΔE00 6.86
Light Indigo
#6D5ACF
ΔE00 6.99
Iris
#6258C4
ΔE00 7.06
Deep Lavender
#8D5EB7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BB3 #86B34B
analogous
#4B52B3 #784BB3 #AC4BB3
triadic
#784BB3 #B3784B #4BB378
tetradic
#784BB3 #B34B52 #86B34B #4BB3AC
square
#784BB3 #B34B52 #86B34B #4BB3AC
split-complementary
#784BB3 #B3AC4B #52B34B
monochromatic
#3E275D #5B3988 #784BB3 #9876C5 #B9A1D8
Accessibility & contrast
On white
6.08
#784BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#784BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BB3
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BB3 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#2E62B1
Tritanopia (blue-blind)
#6C6078
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #784bb3; /* rgb */ color: rgb(120, 75, 179); /* oklch */ color: oklch(51.4% 0.160 300.9);
Tailwind
colors: {
custom: {
50: '#a37fca',
500: '#784bb3',
950: '#000000',
},
}SCSS
$custom: #784bb3; $custom-light: #a37fca; $custom-dark: #000000;
JSON
{
"hex": "#784bb3",
"rgb": {
"r": 120,
"g": 75,
"b": 179
},
"hsl": {
"h": 265.962,
"s": 40.945,
"l": 49.804
},
"oklch": {
"l": 0.51429,
"c": 0.15998,
"h": 300.9
},
"luminance": 0.1228
}Semantic roles & 50–950 ramp
primary
#784BB3
secondary
#B0C495
accent
#D1579C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82