#782CC0#782CC0
#782CC0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.214 H 302.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #782CC0 |
|---|---|
| RGB | rgb(120, 44, 192) |
| HSL | hsl(271, 63%, 46%) |
| HSV | hsv(271, 77%, 75%) |
| CMYK | cmyk(37.5%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(37.11, 59.03, -63.50) |
| CIE-LCH | lch(37.11, 86.70, 312.91°) |
| OKLab | oklab(48.47% 0.1136 -0.1812) |
| OKLCH | oklch(48.47% 0.214 302.1) |
| XYZ | xyz(18.1585, 9.6001, 50.7553) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.92
Purple Blue
#5D21D0
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.34
Burple
#6832E3
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.64
Rebeccapurple
#663399
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782CC0 #74C02C
analogous
#2E2CC0 #782CC0 #C02CBE
triadic
#782CC0 #C0782C #2CC078
tetradic
#782CC0 #C02E2C #74C02C #2CBEC0
square
#782CC0 #C02E2C #74C02C #2CBEC0
split-complementary
#782CC0 #BEC02C #2CC02E
monochromatic
#3A155C #59218E #782CC0 #9652D7 #B484E3
Accessibility & contrast
On white
7.19
#782CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#782CC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782CC0
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782CC0 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#685375
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #782cc0; /* rgb */ color: rgb(120, 44, 192); /* oklch */ color: oklch(48.5% 0.214 302.1);
Tailwind
colors: {
custom: {
50: '#a56ed4',
500: '#782cc0',
950: '#000000',
},
}SCSS
$custom: #782cc0; $custom-light: #a56ed4; $custom-dark: #000000;
JSON
{
"hex": "#782cc0",
"rgb": {
"r": 120,
"g": 44,
"b": 192
},
"hsl": {
"h": 270.811,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.48466,
"c": 0.21387,
"h": 302.1
},
"luminance": 0.096
}Semantic roles & 50–950 ramp
primary
#782CC0
secondary
#A3CC7C
accent
#E64292
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83