#782CB0#782CB0
#782CB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.198 H 306.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #782CB0 |
|---|---|
| RGB | rgb(120, 44, 176) |
| HSL | hsl(275, 60%, 43%) |
| HSV | hsv(275, 75%, 69%) |
| CMYK | cmyk(31.8%, 75%, 0%, 31%) |
| CIE-LAB | lab(35.85, 55.34, -56.10) |
| CIE-LCH | lch(35.85, 78.80, 314.61°) |
| OKLab | oklab(47.18% 0.1172 -0.1595) |
| OKLCH | oklch(47.18% 0.198 306.3) |
| XYZ | xyz(16.4812, 8.9292, 41.9211) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.23
Rebeccapurple
#663399
ΔE00 4.46
Darkviolet
#9400D3
ΔE00 6.04
Purple Blue
#5D21D0
ΔE00 6.66
Bluey Purple
#6241C7
ΔE00 7.06
Darkorchid
#9932CC
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782CB0 #64B02C
analogous
#362CB0 #782CB0 #B02CA6
triadic
#782CB0 #B0782C #2CB078
tetradic
#782CB0 #B0362C #64B02C #2CA6B0
square
#782CB0 #B0362C #64B02C #2CA6B0
split-complementary
#782CB0 #A6B02C #2CB036
monochromatic
#35144E #57207F #782CB0 #9748D1 #B379DD
Accessibility & contrast
On white
7.54
#782CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#782CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782CB0
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782CB0 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#6E4C6C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #782cb0; /* rgb */ color: rgb(120, 44, 176); /* oklch */ color: oklch(47.2% 0.198 306.3);
Tailwind
colors: {
custom: {
50: '#a46dc8',
500: '#782cb0',
950: '#000000',
},
}SCSS
$custom: #782cb0; $custom-light: #a46dc8; $custom-dark: #000000;
JSON
{
"hex": "#782cb0",
"rgb": {
"r": 120,
"g": 44,
"b": 176
},
"hsl": {
"h": 274.545,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.47181,
"c": 0.19796,
"h": 306.3
},
"luminance": 0.08929
}Semantic roles & 50–950 ramp
primary
#782CB0
secondary
#96C672
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82