#783CBD#783CBD
#783CBD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.193 H 300.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #783CBD |
|---|---|
| RGB | rgb(120, 60, 189) |
| HSL | hsl(268, 52%, 49%) |
| HSV | hsv(268, 68%, 74%) |
| CMYK | cmyk(36.5%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(39.41, 51.17, -58.00) |
| CIE-LCH | lch(39.41, 77.34, 311.42°) |
| OKLab | oklab(50.02% 0.099 -0.1652) |
| OKLCH | oklch(50.02% 0.193 300.9) |
| XYZ | xyz(18.5447, 10.8988, 49.2609) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.46
Blueviolet
#8A2BE2
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.85
Burple
#6832E3
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 5.97
Blurple
#5539CC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783CBD #81BD3C
analogous
#3C41BD #783CBD #B93CBD
triadic
#783CBD #BD783C #3CBD78
tetradic
#783CBD #BD3C41 #81BD3C #3CBDB9
square
#783CBD #BD3C41 #81BD3C #3CBDB9
split-complementary
#783CBD #BDB93C #41BD3C
monochromatic
#3D1F60 #5B2D8F #783CBD #9767CF #B796DE
Accessibility & contrast
On white
6.60
#783CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#783CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #783CBD
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783CBD | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#695A78
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #783cbd; /* rgb */ color: rgb(120, 60, 189); /* oklch */ color: oklch(50.0% 0.193 300.9);
Tailwind
colors: {
custom: {
50: '#a476d2',
500: '#783cbd',
950: '#000000',
},
}SCSS
$custom: #783cbd; $custom-light: #a476d2; $custom-dark: #000000;
JSON
{
"hex": "#783cbd",
"rgb": {
"r": 120,
"g": 60,
"b": 189
},
"hsl": {
"h": 267.907,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.50018,
"c": 0.19257,
"h": 300.9
},
"luminance": 0.10899
}Semantic roles & 50–950 ramp
primary
#783CBD
secondary
#ADC98C
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83