#784EBF#784EBF
#784EBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.170 H 297.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #784EBF |
|---|---|
| RGB | rgb(120, 78, 191) |
| HSL | hsl(262, 47%, 53%) |
| HSV | hsv(262, 59%, 75%) |
| CMYK | cmyk(37.2%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.07, 42.16, -53.26) |
| CIE-LCH | lch(43.07, 67.92, 308.36°) |
| OKLab | oklab(52.71% 0.0783 -0.1513) |
| OKLCH | oklch(52.71% 0.17 297.4) |
| XYZ | xyz(19.8717, 13.2031, 50.7816) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.05
Light Indigo
#6D5ACF
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.37
Iris
#6258C4
ΔE00 5.64
Purpley
#8756E4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784EBF #95BF4E
analogous
#4E5CBF #784EBF #B14EBF
triadic
#784EBF #BF784E #4EBF78
tetradic
#784EBF #BF4E5C #95BF4E #4EBFB1
square
#784EBF #BF4E5C #95BF4E #4EBFB1
split-complementary
#784EBF #BFB14E #5CBF4E
monochromatic
#40276C #5B3799 #784EBF #9A7BCF #BDA8E0
Accessibility & contrast
On white
5.77
#784EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#784EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784EBF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784EBF | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#67667F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #784ebf; /* rgb */ color: rgb(120, 78, 191); /* oklch */ color: oklch(52.7% 0.170 297.4);
Tailwind
colors: {
custom: {
50: '#a381d3',
500: '#784ebf',
950: '#000000',
},
}SCSS
$custom: #784ebf; $custom-light: #a381d3; $custom-dark: #000000;
JSON
{
"hex": "#784ebf",
"rgb": {
"r": 120,
"g": 78,
"b": 191
},
"hsl": {
"h": 262.301,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.5271,
"c": 0.17033,
"h": 297.4
},
"luminance": 0.13203
}Semantic roles & 50–950 ramp
primary
#784EBF
secondary
#BBCD9C
accent
#D751A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83