#783FC0#783FC0
#783FC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.192 H 299.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #783FC0 |
|---|---|
| RGB | rgb(120, 63, 192) |
| HSL | hsl(267, 51%, 50%) |
| HSV | hsv(267, 67%, 75%) |
| CMYK | cmyk(37.5%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(40.17, 50.42, -58.53) |
| CIE-LCH | lch(40.17, 77.25, 310.75°) |
| OKLab | oklab(50.63% 0.0954 -0.1667) |
| OKLCH | oklch(50.63% 0.192 299.8) |
| XYZ | xyz(19.0353, 11.3537, 51.0476) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.50
Burple
#6832E3
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FC0 #87C03F
analogous
#3F46C0 #783FC0 #B93FC0
triadic
#783FC0 #C0783F #3FC078
tetradic
#783FC0 #C03F46 #87C03F #3FC0B9
square
#783FC0 #C03F46 #87C03F #3FC0B9
split-complementary
#783FC0 #C0B93F #46C03F
monochromatic
#3E2164 #5B3092 #783FC0 #986DCF #B99BDE
Accessibility & contrast
On white
6.42
#783FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#783FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FC0
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FC0 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#685D7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #783fc0; /* rgb */ color: rgb(120, 63, 192); /* oklch */ color: oklch(50.6% 0.192 299.8);
Tailwind
colors: {
custom: {
50: '#a478d4',
500: '#783fc0',
950: '#000000',
},
}SCSS
$custom: #783fc0; $custom-light: #a478d4; $custom-dark: #000000;
JSON
{
"hex": "#783fc0",
"rgb": {
"r": 120,
"g": 63,
"b": 192
},
"hsl": {
"h": 266.512,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.50632,
"c": 0.19209,
"h": 299.8
},
"luminance": 0.11354
}Semantic roles & 50–950 ramp
primary
#783FC0
secondary
#B1CA91
accent
#DA4E9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83