#784FBF#784FBF
#784FBF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.169 H 297.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #784FBF |
|---|---|
| RGB | rgb(120, 79, 191) |
| HSL | hsl(262, 47%, 53%) |
| HSV | hsv(262, 59%, 75%) |
| CMYK | cmyk(37.2%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.28, 41.59, -52.92) |
| CIE-LCH | lch(43.28, 67.31, 308.17°) |
| OKLab | oklab(52.86% 0.077 -0.1503) |
| OKLCH | oklch(52.86% 0.169 297.1) |
| XYZ | xyz(19.9433, 13.3463, 50.8055) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.10
Iris
#6258C4
ΔE00 5.49
Bluey Purple
#6241C7
ΔE00 5.54
Purpley
#8756E4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FBF #96BF4F
analogous
#4F5EBF #784FBF #B04FBF
triadic
#784FBF #BF784F #4FBF78
tetradic
#784FBF #BF4F5E #96BF4F #4FBFB0
square
#784FBF #BF4F5E #96BF4F #4FBFB0
split-complementary
#784FBF #BFB04F #5EBF4F
monochromatic
#41276C #5B3899 #784FBF #9A7CCF #BDA9E0
Accessibility & contrast
On white
5.72
#784FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#784FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FBF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FBF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#67677F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784fbf; /* rgb */ color: rgb(120, 79, 191); /* oklch */ color: oklch(52.9% 0.169 297.1);
Tailwind
colors: {
custom: {
50: '#a382d3',
500: '#784fbf',
950: '#000000',
},
}SCSS
$custom: #784fbf; $custom-light: #a382d3; $custom-dark: #000000;
JSON
{
"hex": "#784fbf",
"rgb": {
"r": 120,
"g": 79,
"b": 191
},
"hsl": {
"h": 261.964,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.52865,
"c": 0.16888,
"h": 297.1
},
"luminance": 0.13347
}Semantic roles & 50–950 ramp
primary
#784FBF
secondary
#BBCD9D
accent
#D651A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83