#784BAE#784BAE
#784BAE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.154 H 302.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #784BAE |
|---|---|
| RGB | rgb(120, 75, 174) |
| HSL | hsl(267, 40%, 49%) |
| HSV | hsv(267, 57%, 68%) |
| CMYK | cmyk(31%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(41.34, 39.42, -46.05) |
| CIE-LCH | lch(41.34, 60.62, 310.57°) |
| OKLab | oklab(51.1% 0.0821 -0.1301) |
| OKLCH | oklch(51.1% 0.154 302.2) |
| XYZ | xyz(17.9000, 12.0812, 41.4251) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.04
Bluey Purple
#6241C7
ΔE00 6.68
Purply
#983FB2
ΔE00 6.69
Deep Lavender
#8D5EB7
ΔE00 7.00
Rebeccapurple
#663399
ΔE00 7.26
Iris
#6258C4
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784BAE #81AE4B
analogous
#4B50AE #784BAE #AA4BAE
triadic
#784BAE #AE784B #4BAE78
tetradic
#784BAE #AE4B50 #81AE4B #4BAEAA
square
#784BAE #AE4B50 #81AE4B #4BAEAA
split-complementary
#784BAE #AEAA4B #50AE4B
monochromatic
#3D2658 #5B3983 #784BAE #9773C3 #B79ED5
Accessibility & contrast
On white
6.15
#784BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#784BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784BAE
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784BAE | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#6E5F75
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #784bae; /* rgb */ color: rgb(120, 75, 174); /* oklch */ color: oklch(51.1% 0.154 302.2);
Tailwind
colors: {
custom: {
50: '#a27fc7',
500: '#784bae',
950: '#000000',
},
}SCSS
$custom: #784bae; $custom-light: #a27fc7; $custom-dark: #000000;
JSON
{
"hex": "#784bae",
"rgb": {
"r": 120,
"g": 75,
"b": 174
},
"hsl": {
"h": 267.273,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.51099,
"c": 0.15383,
"h": 302.2
},
"luminance": 0.12081
}Semantic roles & 50–950 ramp
primary
#784BAE
secondary
#ADC293
accent
#D05899
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82