#782FC1#782FC1
#782FC1 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.212 H 301.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #782FC1 |
|---|---|
| RGB | rgb(120, 47, 193) |
| HSL | hsl(270, 61%, 47%) |
| HSV | hsv(270, 76%, 76%) |
| CMYK | cmyk(37.8%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(37.62, 58.05, -63.26) |
| CIE-LCH | lch(37.62, 85.86, 312.54°) |
| OKLab | oklab(48.85% 0.1108 -0.1806) |
| OKLCH | oklch(48.85% 0.212 301.5) |
| XYZ | xyz(18.3855, 9.8763, 51.3794) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 5.03
Blueviolet
#8A2BE2
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.26
Purple Blue
#5D21D0
ΔE00 5.27
Burple
#6832E3
ΔE00 5.31
Blurple
#5539CC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782FC1 #78C12F
analogous
#2F2FC1 #782FC1 #C12FC1
triadic
#782FC1 #C1782F #2FC178
tetradic
#782FC1 #C12F2F #78C12F #2FC1C1
square
#782FC1 #C12F2F #78C12F #2FC1C1
split-complementary
#782FC1 #C1C12F #2FC12F
monochromatic
#3B175F #592390 #782FC1 #9757D6 #B588E2
Accessibility & contrast
On white
7.06
#782FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#782FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782FC1
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782FC1 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#685576
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #782fc1; /* rgb */ color: rgb(120, 47, 193); /* oklch */ color: oklch(48.8% 0.212 301.5);
Tailwind
colors: {
custom: {
50: '#a56fd5',
500: '#782fc1',
950: '#000000',
},
}SCSS
$custom: #782fc1; $custom-light: #a56fd5; $custom-dark: #000000;
JSON
{
"hex": "#782fc1",
"rgb": {
"r": 120,
"g": 47,
"b": 193
},
"hsl": {
"h": 270,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.48845,
"c": 0.21182,
"h": 301.5
},
"luminance": 0.09876
}Semantic roles & 50–950 ramp
primary
#782FC1
secondary
#A6CC80
accent
#E44494
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83