#783FC7#783FC7
#783FC7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.200 H 298.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #783FC7 |
|---|---|
| RGB | rgb(120, 63, 199) |
| HSL | hsl(265, 55%, 51%) |
| HSV | hsv(265, 68%, 78%) |
| CMYK | cmyk(39.7%, 68.3%, 0%, 22%) |
| CIE-LAB | lab(40.69, 52.20, -61.76) |
| CIE-LCH | lch(40.69, 80.87, 310.20°) |
| OKLab | oklab(51.17% 0.0944 -0.1763) |
| OKLCH | oklch(51.17% 0.2 298.2) |
| XYZ | xyz(19.8294, 11.6713, 55.2298) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.80
Bluish Purple
#703BE7
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 4.70
Burple
#6832E3
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.82
Blurple
#5539CC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FC7 #8EC73F
analogous
#3F4AC7 #783FC7 #BC3FC7
triadic
#783FC7 #C7783F #3FC778
tetradic
#783FC7 #C73F4A #8EC73F #3FC7BC
square
#783FC7 #C73F4A #8EC73F #3FC7BC
split-complementary
#783FC7 #C7BC3F #4AC73F
monochromatic
#40206C #5B2D9B #783FC7 #996ED5 #BB9EE3
Accessibility & contrast
On white
6.30
#783FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#783FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FC7
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FC7 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#65607E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #783fc7; /* rgb */ color: rgb(120, 63, 199); /* oklch */ color: oklch(51.2% 0.200 298.2);
Tailwind
colors: {
custom: {
50: '#a578d9',
500: '#783fc7',
950: '#000000',
},
}SCSS
$custom: #783fc7; $custom-light: #a578d9; $custom-dark: #000000;
JSON
{
"hex": "#783fc7",
"rgb": {
"r": 120,
"g": 63,
"b": 199
},
"hsl": {
"h": 265.147,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.51167,
"c": 0.19994,
"h": 298.2
},
"luminance": 0.11672
}Semantic roles & 50–950 ramp
primary
#783FC7
secondary
#B6CF93
accent
#DE4AA0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83