#784BBF#784BBF
#784BBF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.175 H 298.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #784BBF |
|---|---|
| RGB | rgb(120, 75, 191) |
| HSL | hsl(263, 48%, 52%) |
| HSV | hsv(263, 61%, 75%) |
| CMYK | cmyk(37.2%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(42.44, 43.82, -54.27) |
| CIE-LCH | lch(42.44, 69.75, 308.92°) |
| OKLab | oklab(52.25% 0.0819 -0.1543) |
| OKLCH | oklch(52.25% 0.175 298) |
| XYZ | xyz(19.6634, 12.7865, 50.7122) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.92
Light Indigo
#6D5ACF
ΔE00 5.65
Slate Blue
#6A5ACD
ΔE00 5.84
Iris
#6258C4
ΔE00 6.12
Bluish Purple
#703BE7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BBF #92BF4B
analogous
#4B58BF #784BBF #B24BBF
triadic
#784BBF #BF784B #4BBF78
tetradic
#784BBF #BF4B58 #92BF4B #4BBFB2
square
#784BBF #BF4B58 #92BF4B #4BBFB2
split-complementary
#784BBF #BFB24B #58BF4B
monochromatic
#40266A #5B3697 #784BBF #9A78CF #BCA5DF
Accessibility & contrast
On white
5.90
#784BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#784BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BBF
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BBF | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#68647E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784bbf; /* rgb */ color: rgb(120, 75, 191); /* oklch */ color: oklch(52.3% 0.175 298.0);
Tailwind
colors: {
custom: {
50: '#a47fd3',
500: '#784bbf',
950: '#000000',
},
}SCSS
$custom: #784bbf; $custom-light: #a47fd3; $custom-dark: #000000;
JSON
{
"hex": "#784bbf",
"rgb": {
"r": 120,
"g": 75,
"b": 191
},
"hsl": {
"h": 263.276,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.52251,
"c": 0.17463,
"h": 298
},
"luminance": 0.12787
}Semantic roles & 50–950 ramp
primary
#784BBF
secondary
#B9CC9A
accent
#D751A3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83