#783FC5#783FC5
#783FC5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.198 H 298.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #783FC5 |
|---|---|
| RGB | rgb(120, 63, 197) |
| HSL | hsl(266, 54%, 51%) |
| HSV | hsv(266, 68%, 77%) |
| CMYK | cmyk(39.1%, 68%, 0%, 22.7%) |
| CIE-LAB | lab(40.54, 51.69, -60.84) |
| CIE-LCH | lch(40.54, 79.84, 310.35°) |
| OKLab | oklab(51.01% 0.0947 -0.1735) |
| OKLCH | oklch(51.01% 0.198 298.6) |
| XYZ | xyz(19.5987, 11.5790, 54.0149) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.87
Bluish Purple
#703BE7
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 4.88
Burple
#6832E3
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.81
Blurple
#5539CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FC5 #8CC53F
analogous
#3F49C5 #783FC5 #BB3FC5
triadic
#783FC5 #C5783F #3FC578
tetradic
#783FC5 #C53F49 #8CC53F #3FC5BB
square
#783FC5 #C53F49 #8CC53F #3FC5BB
split-complementary
#783FC5 #C5BB3F #49C53F
monochromatic
#3F206A #5B2E99 #783FC5 #996ED3 #BA9DE1
Accessibility & contrast
On white
6.33
#783FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#783FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FC5
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FC5 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#665F7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #783fc5; /* rgb */ color: rgb(120, 63, 197); /* oklch */ color: oklch(51.0% 0.198 298.6);
Tailwind
colors: {
custom: {
50: '#a578d7',
500: '#783fc5',
950: '#000000',
},
}SCSS
$custom: #783fc5; $custom-light: #a578d7; $custom-dark: #000000;
JSON
{
"hex": "#783fc5",
"rgb": {
"r": 120,
"g": 63,
"b": 197
},
"hsl": {
"h": 265.522,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.51013,
"c": 0.1977,
"h": 298.6
},
"luminance": 0.11579
}Semantic roles & 50–950 ramp
primary
#783FC5
secondary
#B4CE92
accent
#DD4B9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83