#784BB7#784BB7
#784BB7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.165 H 299.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #784BB7 |
|---|---|
| RGB | rgb(120, 75, 183) |
| HSL | hsl(265, 43%, 51%) |
| HSV | hsv(265, 59%, 72%) |
| CMYK | cmyk(34.4%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(41.91, 41.73, -50.44) |
| CIE-LCH | lch(41.91, 65.47, 309.60°) |
| OKLab | oklab(51.7% 0.0821 -0.143) |
| OKLCH | oklch(51.7% 0.165 299.9) |
| XYZ | xyz(18.8070, 12.4440, 46.2017) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.16
Bluey Purple
#6241C7
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 6.49
Slate Blue
#6A5ACD
ΔE00 6.63
Iris
#6258C4
ΔE00 6.68
Purply
#983FB2
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BB7 #8AB74B
analogous
#4B54B7 #784BB7 #AE4BB7
triadic
#784BB7 #B7784B #4BB778
tetradic
#784BB7 #B74B54 #8AB74B #4BB7AE
square
#784BB7 #B74B54 #8AB74B #4BB7AE
split-complementary
#784BB7 #B7AE4B #54B74B
monochromatic
#3F2761 #5B388D #784BB7 #9977C8 #BAA2DA
Accessibility & contrast
On white
6.02
#784BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#784BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BB7
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BB7 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#6B617A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #784bb7; /* rgb */ color: rgb(120, 75, 183); /* oklch */ color: oklch(51.7% 0.165 299.9);
Tailwind
colors: {
custom: {
50: '#a37fcd',
500: '#784bb7',
950: '#000000',
},
}SCSS
$custom: #784bb7; $custom-light: #a37fcd; $custom-dark: #000000;
JSON
{
"hex": "#784bb7",
"rgb": {
"r": 120,
"g": 75,
"b": 183
},
"hsl": {
"h": 265,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.51698,
"c": 0.16488,
"h": 299.9
},
"luminance": 0.12444
}Semantic roles & 50–950 ramp
primary
#784BB7
secondary
#B3C797
accent
#D3559E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82