#783CB5#783CB5
#783CB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.184 H 303.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #783CB5 |
|---|---|
| RGB | rgb(120, 60, 181) |
| HSL | hsl(270, 50%, 47%) |
| HSV | hsv(270, 67%, 71%) |
| CMYK | cmyk(33.7%, 66.9%, 0%, 29%) |
| CIE-LAB | lab(38.83, 49.19, -54.23) |
| CIE-LCH | lch(38.83, 73.22, 312.21°) |
| OKLab | oklab(49.42% 0.1 -0.1541) |
| OKLCH | oklch(49.42% 0.184 303) |
| XYZ | xyz(17.7001, 10.5610, 44.8131) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.27
Rebeccapurple
#663399
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 5.89
Darkorchid
#9932CC
ΔE00 6.18
Blueviolet
#8A2BE2
ΔE00 6.56
Purply
#983FB2
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783CB5 #79B53C
analogous
#3C3DB5 #783CB5 #B43CB5
triadic
#783CB5 #B5783C #3CB578
tetradic
#783CB5 #B53C3D #79B53C #3CB5B4
square
#783CB5 #B53C3D #79B53C #3CB5B4
split-complementary
#783CB5 #B5B43C #3DB53C
monochromatic
#3B1E59 #5A2D87 #783CB5 #9763CB #B591DB
Accessibility & contrast
On white
6.75
#783CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#783CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783CB5
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783CB5 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#6C5773
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #783cb5; /* rgb */ color: rgb(120, 60, 181); /* oklch */ color: oklch(49.4% 0.184 303.0);
Tailwind
colors: {
custom: {
50: '#a476cc',
500: '#783cb5',
950: '#000000',
},
}SCSS
$custom: #783cb5; $custom-light: #a476cc; $custom-dark: #000000;
JSON
{
"hex": "#783cb5",
"rgb": {
"r": 120,
"g": 60,
"b": 181
},
"hsl": {
"h": 269.752,
"s": 50.207,
"l": 47.255
},
"oklch": {
"l": 0.49421,
"c": 0.18369,
"h": 303
},
"luminance": 0.10561
}Semantic roles & 50–950 ramp
primary
#783CB5
secondary
#A7C687
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82