#783AB9#783AB9
#783AB9 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.191 H 302.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #783AB9 |
|---|---|
| RGB | rgb(120, 58, 185) |
| HSL | hsl(269, 52%, 48%) |
| HSV | hsv(269, 69%, 73%) |
| CMYK | cmyk(35.1%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(38.76, 51.16, -56.70) |
| CIE-LCH | lch(38.76, 76.37, 312.06°) |
| OKLab | oklab(49.46% 0.1017 -0.1613) |
| OKLCH | oklch(49.46% 0.191 302.2) |
| XYZ | xyz(18.0137, 10.5219, 46.9714) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.94
Rebeccapurple
#663399
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 5.97
Darkorchid
#9932CC
ΔE00 5.99
Darkviolet
#9400D3
ΔE00 6.42
Burple
#6832E3
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783AB9 #7BB93A
analogous
#3A3CB9 #783AB9 #B73AB9
triadic
#783AB9 #B9783A #3AB978
tetradic
#783AB9 #B93A3C #7BB93A #3AB9B7
square
#783AB9 #B93A3C #7BB93A #3AB9B7
split-complementary
#783AB9 #B9B73A #3CB93A
monochromatic
#3C1D5C #5A2B8A #783AB9 #9762CE #B691DC
Accessibility & contrast
On white
6.76
#783AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#783AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783AB9
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783AB9 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#6B5775
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #783ab9; /* rgb */ color: rgb(120, 58, 185); /* oklch */ color: oklch(49.5% 0.191 302.2);
Tailwind
colors: {
custom: {
50: '#a475cf',
500: '#783ab9',
950: '#000000',
},
}SCSS
$custom: #783ab9; $custom-light: #a475cf; $custom-dark: #000000;
JSON
{
"hex": "#783ab9",
"rgb": {
"r": 120,
"g": 58,
"b": 185
},
"hsl": {
"h": 269.291,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.49463,
"c": 0.1907,
"h": 302.2
},
"luminance": 0.10522
}Semantic roles & 50–950 ramp
primary
#783AB9
secondary
#A8C787
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82