#783DC4#783DC4
#783DC4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.199 H 299.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #783DC4 |
|---|---|
| RGB | rgb(120, 61, 196) |
| HSL | hsl(266, 53%, 50%) |
| HSV | hsv(266, 69%, 77%) |
| CMYK | cmyk(38.8%, 68.9%, 0%, 23.1%) |
| CIE-LAB | lab(40.11, 52.43, -60.96) |
| CIE-LCH | lch(40.11, 80.40, 310.69°) |
| OKLab | oklab(50.68% 0.0969 -0.1739) |
| OKLCH | oklch(50.68% 0.199 299.1) |
| XYZ | xyz(19.3758, 11.3158, 53.3772) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.96
Blueviolet
#8A2BE2
ΔE00 4.83
Bluish Purple
#703BE7
ΔE00 4.92
Burple
#6832E3
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 5.75
Blurple
#5539CC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783DC4 #89C43D
analogous
#3D45C4 #783DC4 #BB3DC4
triadic
#783DC4 #C4783D #3DC478
tetradic
#783DC4 #C43D45 #89C43D #3DC4BB
square
#783DC4 #C43D45 #89C43D #3DC4BB
split-complementary
#783DC4 #C4BB3D #45C43D
monochromatic
#3F1F67 #5B2E96 #783DC4 #996CD2 #B99BE1
Accessibility & contrast
On white
6.44
#783DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#783DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783DC4
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783DC4 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#665D7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #783dc4; /* rgb */ color: rgb(120, 61, 196); /* oklch */ color: oklch(50.7% 0.199 299.1);
Tailwind
colors: {
custom: {
50: '#a577d7',
500: '#783dc4',
950: '#000000',
},
}SCSS
$custom: #783dc4; $custom-light: #a577d7; $custom-dark: #000000;
JSON
{
"hex": "#783dc4",
"rgb": {
"r": 120,
"g": 61,
"b": 196
},
"hsl": {
"h": 266.222,
"s": 53.36,
"l": 50.392
},
"oklch": {
"l": 0.50681,
"c": 0.19907,
"h": 299.1
},
"luminance": 0.11316
}Semantic roles & 50–950 ramp
primary
#783DC4
secondary
#B2CD90
accent
#DD4B9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83