#783DC2#783DC2
#783DC2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.197 H 299.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #783DC2 |
|---|---|
| RGB | rgb(120, 61, 194) |
| HSL | hsl(267, 52%, 50%) |
| HSV | hsv(267, 69%, 76%) |
| CMYK | cmyk(38.1%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(39.96, 51.92, -60.04) |
| CIE-LCH | lch(39.96, 79.38, 310.85°) |
| OKLab | oklab(50.53% 0.0972 -0.1712) |
| OKLCH | oklch(50.53% 0.197 299.6) |
| XYZ | xyz(19.1497, 11.2254, 52.1863) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.07
Blueviolet
#8A2BE2
ΔE00 5.04
Bluish Purple
#703BE7
ΔE00 5.21
Burple
#6832E3
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.77
Blurple
#5539CC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783DC2 #87C23D
analogous
#3D44C2 #783DC2 #BB3DC2
triadic
#783DC2 #C2783D #3DC278
tetradic
#783DC2 #C23D44 #87C23D #3DC2BB
square
#783DC2 #C23D44 #87C23D #3DC2BB
split-complementary
#783DC2 #C2BB3D #44C23D
monochromatic
#3E2065 #5B2E93 #783DC2 #986CD1 #B99ADF
Accessibility & contrast
On white
6.47
#783DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#783DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783DC2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783DC2 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#675D7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #783dc2; /* rgb */ color: rgb(120, 61, 194); /* oklch */ color: oklch(50.5% 0.197 299.6);
Tailwind
colors: {
custom: {
50: '#a577d5',
500: '#783dc2',
950: '#000000',
},
}SCSS
$custom: #783dc2; $custom-light: #a577d5; $custom-dark: #000000;
JSON
{
"hex": "#783dc2",
"rgb": {
"r": 120,
"g": 61,
"b": 194
},
"hsl": {
"h": 266.617,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.50526,
"c": 0.19685,
"h": 299.6
},
"luminance": 0.11226
}Semantic roles & 50–950 ramp
primary
#783DC2
secondary
#B1CB90
accent
#DC4C9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83