#783FC4#783FC4
#783FC4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.197 H 298.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #783FC4 |
|---|---|
| RGB | rgb(120, 63, 196) |
| HSL | hsl(266, 53%, 51%) |
| HSV | hsv(266, 68%, 77%) |
| CMYK | cmyk(38.8%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(40.46, 51.44, -60.38) |
| CIE-LCH | lch(40.46, 79.32, 310.43°) |
| OKLab | oklab(50.94% 0.0948 -0.1722) |
| OKLCH | oklch(50.94% 0.197 298.8) |
| XYZ | xyz(19.4845, 11.5334, 53.4135) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.92
Blueviolet
#8A2BE2
ΔE00 4.98
Burple
#6832E3
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.81
Blurple
#5539CC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FC4 #8BC43F
analogous
#3F48C4 #783FC4 #BA3FC4
triadic
#783FC4 #C4783F #3FC478
tetradic
#783FC4 #C43F48 #8BC43F #3FC4BA
square
#783FC4 #C43F48 #8BC43F #3FC4BA
split-complementary
#783FC4 #C4BA3F #48C43F
monochromatic
#3F2068 #5B2E97 #783FC4 #996ED2 #BA9DE1
Accessibility & contrast
On white
6.35
#783FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#783FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FC4
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FC4 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#665E7C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #783fc4; /* rgb */ color: rgb(120, 63, 196); /* oklch */ color: oklch(50.9% 0.197 298.8);
Tailwind
colors: {
custom: {
50: '#a578d7',
500: '#783fc4',
950: '#000000',
},
}SCSS
$custom: #783fc4; $custom-light: #a578d7; $custom-dark: #000000;
JSON
{
"hex": "#783fc4",
"rgb": {
"r": 120,
"g": 63,
"b": 196
},
"hsl": {
"h": 265.714,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.50936,
"c": 0.19658,
"h": 298.8
},
"luminance": 0.11534
}Semantic roles & 50–950 ramp
primary
#783FC4
secondary
#B4CD92
accent
#DC4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83