#784CBB#784CBB
#784CBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.168 H 298.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #784CBB |
|---|---|
| RGB | rgb(120, 76, 187) |
| HSL | hsl(264, 45%, 52%) |
| HSV | hsv(264, 59%, 73%) |
| CMYK | cmyk(35.8%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.38, 42.22, -52.03) |
| CIE-LCH | lch(42.38, 67.00, 309.06°) |
| OKLab | oklab(52.13% 0.0808 -0.1477) |
| OKLCH | oklch(52.13% 0.168 298.7) |
| XYZ | xyz(19.2976, 12.7496, 48.4483) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 6.03
Iris
#6258C4
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CBB #8FBB4C
analogous
#4C58BB #784CBB #B04CBB
triadic
#784CBB #BB784C #4CBB78
tetradic
#784CBB #BB4C58 #8FBB4C #4CBBB0
square
#784CBB #BB4C58 #8FBB4C #4CBBB0
split-complementary
#784CBB #BBB04C #58BB4C
monochromatic
#402766 #5C3892 #784CBB #9978CC #BBA5DD
Accessibility & contrast
On white
5.92
#784CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#784CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CBB
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CBB | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#69637C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784cbb; /* rgb */ color: rgb(120, 76, 187); /* oklch */ color: oklch(52.1% 0.168 298.7);
Tailwind
colors: {
custom: {
50: '#a380d0',
500: '#784cbb',
950: '#000000',
},
}SCSS
$custom: #784cbb; $custom-light: #a380d0; $custom-dark: #000000;
JSON
{
"hex": "#784cbb",
"rgb": {
"r": 120,
"g": 76,
"b": 187
},
"hsl": {
"h": 263.784,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.52125,
"c": 0.16831,
"h": 298.7
},
"luminance": 0.1275
}Semantic roles & 50–950 ramp
primary
#784CBB
secondary
#B6CA99
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82