#783FC2#783FC2
#783FC2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.194 H 299.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #783FC2 |
|---|---|
| RGB | rgb(120, 63, 194) |
| HSL | hsl(266, 52%, 50%) |
| HSV | hsv(266, 68%, 76%) |
| CMYK | cmyk(38.1%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(40.32, 50.93, -59.46) |
| CIE-LCH | lch(40.32, 78.29, 310.58°) |
| OKLab | oklab(50.78% 0.0951 -0.1695) |
| OKLCH | oklch(50.78% 0.194 299.3) |
| XYZ | xyz(19.2584, 11.4429, 52.2226) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.02
Blueviolet
#8A2BE2
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.21
Burple
#6832E3
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 5.82
Blurple
#5539CC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FC2 #89C23F
analogous
#3F47C2 #783FC2 #BA3FC2
triadic
#783FC2 #C2783F #3FC278
tetradic
#783FC2 #C23F47 #89C23F #3FC2BA
square
#783FC2 #C23F47 #89C23F #3FC2BA
split-complementary
#783FC2 #C2BA3F #47C23F
monochromatic
#3F2066 #5B2F95 #783FC2 #996DD1 #B99CE0
Accessibility & contrast
On white
6.39
#783FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#783FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FC2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FC2 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#675E7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #783fc2; /* rgb */ color: rgb(120, 63, 194); /* oklch */ color: oklch(50.8% 0.194 299.3);
Tailwind
colors: {
custom: {
50: '#a578d5',
500: '#783fc2',
950: '#000000',
},
}SCSS
$custom: #783fc2; $custom-light: #a578d5; $custom-dark: #000000;
JSON
{
"hex": "#783fc2",
"rgb": {
"r": 120,
"g": 63,
"b": 194
},
"hsl": {
"h": 266.107,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.50783,
"c": 0.19433,
"h": 299.3
},
"luminance": 0.11443
}Semantic roles & 50–950 ramp
primary
#783FC2
secondary
#B2CC91
accent
#DB4D9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83