#783CB9#783CB9
#783CB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.188 H 301.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #783CB9 |
|---|---|
| RGB | rgb(120, 60, 185) |
| HSL | hsl(269, 51%, 48%) |
| HSV | hsv(269, 68%, 73%) |
| CMYK | cmyk(35.1%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(39.12, 50.17, -56.13) |
| CIE-LCH | lch(39.12, 75.28, 311.80°) |
| OKLab | oklab(49.72% 0.0995 -0.1597) |
| OKLCH | oklch(49.72% 0.188 301.9) |
| XYZ | xyz(18.1165, 10.7275, 47.0057) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.83
Rebeccapurple
#663399
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 5.99
Blueviolet
#8A2BE2
ΔE00 6.04
Royal Purple
#7851A9
ΔE00 6.13
Burple
#6832E3
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783CB9 #7DB93C
analogous
#3C3FB9 #783CB9 #B63CB9
triadic
#783CB9 #B9783C #3CB978
tetradic
#783CB9 #B93C3F #7DB93C #3CB9B6
square
#783CB9 #B93C3F #7DB93C #3CB9B6
split-complementary
#783CB9 #B9B63C #3FB93C
monochromatic
#3C1E5D #5A2D8B #783CB9 #9765CD #B693DC
Accessibility & contrast
On white
6.68
#783CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#783CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783CB9
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783CB9 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6B5976
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #783cb9; /* rgb */ color: rgb(120, 60, 185); /* oklch */ color: oklch(49.7% 0.188 301.9);
Tailwind
colors: {
custom: {
50: '#a476cf',
500: '#783cb9',
950: '#000000',
},
}SCSS
$custom: #783cb9; $custom-light: #a476cf; $custom-dark: #000000;
JSON
{
"hex": "#783cb9",
"rgb": {
"r": 120,
"g": 60,
"b": 185
},
"hsl": {
"h": 268.8,
"s": 51.02,
"l": 48.039
},
"oklch": {
"l": 0.49717,
"c": 0.18813,
"h": 301.9
},
"luminance": 0.10728
}Semantic roles & 50–950 ramp
primary
#783CB9
secondary
#AAC789
accent
#DA4D97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82