#783FB3#783FB3
#783FB3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.177 H 303.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #783FB3 |
|---|---|
| RGB | rgb(120, 63, 179) |
| HSL | hsl(269, 48%, 47%) |
| HSV | hsv(269, 65%, 70%) |
| CMYK | cmyk(33%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(39.25, 47.17, -52.38) |
| CIE-LCH | lch(39.25, 70.49, 312.00°) |
| OKLab | oklab(49.68% 0.0968 -0.1487) |
| OKLCH | oklch(49.68% 0.177 303.1) |
| XYZ | xyz(17.6580, 10.8028, 43.7940) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 6.36
Purply
#983FB2
ΔE00 6.55
Blueviolet
#8A2BE2
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783FB3 #7AB33F
analogous
#3F40B3 #783FB3 #B23FB3
triadic
#783FB3 #B3783F #3FB378
tetradic
#783FB3 #B33F40 #7AB33F #3FB3B2
square
#783FB3 #B33F40 #7AB33F #3FB3B2
split-complementary
#783FB3 #B3B23F #40B33F
monochromatic
#3B1F58 #5A2F86 #783FB3 #9766C9 #B693D9
Accessibility & contrast
On white
6.64
#783FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#783FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783FB3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783FB3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#6C5873
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #783fb3; /* rgb */ color: rgb(120, 63, 179); /* oklch */ color: oklch(49.7% 0.177 303.1);
Tailwind
colors: {
custom: {
50: '#a377ca',
500: '#783fb3',
950: '#000000',
},
}SCSS
$custom: #783fb3; $custom-light: #a377ca; $custom-dark: #000000;
JSON
{
"hex": "#783fb3",
"rgb": {
"r": 120,
"g": 63,
"b": 179
},
"hsl": {
"h": 269.483,
"s": 47.934,
"l": 47.451
},
"oklch": {
"l": 0.49675,
"c": 0.17738,
"h": 303.1
},
"luminance": 0.10803
}Semantic roles & 50–950 ramp
primary
#783FB3
secondary
#A7C489
accent
#D85095
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82