#783AC1#783AC1
#783AC1 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.199 H 300.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #783AC1 |
|---|---|
| RGB | rgb(120, 58, 193) |
| HSL | hsl(268, 54%, 49%) |
| HSV | hsv(268, 70%, 76%) |
| CMYK | cmyk(37.8%, 69.9%, 0%, 24.3%) |
| CIE-LAB | lab(39.36, 53.13, -60.43) |
| CIE-LCH | lch(39.36, 80.46, 311.32°) |
| OKLab | oklab(50.08% 0.1004 -0.1723) |
| OKLCH | oklch(50.08% 0.199 300.2) |
| XYZ | xyz(18.8820, 10.8693, 51.5449) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 5.01
Burple
#6832E3
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.76
Blurple
#5539CC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783AC1 #83C13A
analogous
#3A3FC1 #783AC1 #BC3AC1
triadic
#783AC1 #C1783A #3AC178
tetradic
#783AC1 #C13A3F #83C13A #3AC1BC
square
#783AC1 #C13A3F #83C13A #3AC1BC
split-complementary
#783AC1 #C1BC3A #3FC13A
monochromatic
#3D1E63 #5B2C92 #783AC1 #9867D1 #B896DF
Accessibility & contrast
On white
6.62
#783AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#783AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783AC1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783AC1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#685A79
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #783ac1; /* rgb */ color: rgb(120, 58, 193); /* oklch */ color: oklch(50.1% 0.199 300.2);
Tailwind
colors: {
custom: {
50: '#a575d5',
500: '#783ac1',
950: '#000000',
},
}SCSS
$custom: #783ac1; $custom-light: #a575d5; $custom-dark: #000000;
JSON
{
"hex": "#783ac1",
"rgb": {
"r": 120,
"g": 58,
"b": 193
},
"hsl": {
"h": 267.556,
"s": 53.785,
"l": 49.216
},
"oklch": {
"l": 0.50076,
"c": 0.19943,
"h": 300.2
},
"luminance": 0.10869
}Semantic roles & 50–950 ramp
primary
#783AC1
secondary
#AECB8C
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83