#7839BF#7839BF
#7839BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.198 H 300.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7839BF |
|---|---|
| RGB | rgb(120, 57, 191) |
| HSL | hsl(268, 54%, 49%) |
| HSV | hsv(268, 70%, 75%) |
| CMYK | cmyk(37.2%, 70.2%, 0%, 25.1%) |
| CIE-LAB | lab(39.04, 53.11, -59.78) |
| CIE-LCH | lch(39.04, 79.96, 311.62°) |
| OKLab | oklab(49.8% 0.1018 -0.1704) |
| OKLCH | oklch(49.8% 0.198 300.8) |
| XYZ | xyz(18.6105, 10.6808, 50.3612) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.48
Blueviolet
#8A2BE2
ΔE00 5.21
Burple
#6832E3
ΔE00 5.57
Bluish Purple
#703BE7
ΔE00 5.75
Darkorchid
#9932CC
ΔE00 5.81
Darkviolet
#9400D3
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7839BF #80BF39
analogous
#393DBF #7839BF #BB39BF
triadic
#7839BF #BF7839 #39BF78
tetradic
#7839BF #BF393D #80BF39 #39BFBB
square
#7839BF #BF393D #80BF39 #39BFBB
split-complementary
#7839BF #BFBB39 #3DBF39
monochromatic
#3D1D61 #5A2B90 #7839BF #9764D1 #B793DF
Accessibility & contrast
On white
6.70
#7839BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7839BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7839BF
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7839BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7839BF | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#685978
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7839bf; /* rgb */ color: rgb(120, 57, 191); /* oklch */ color: oklch(49.8% 0.198 300.8);
Tailwind
colors: {
custom: {
50: '#a574d3',
500: '#7839bf',
950: '#000000',
},
}SCSS
$custom: #7839bf; $custom-light: #a574d3; $custom-dark: #000000;
JSON
{
"hex": "#7839bf",
"rgb": {
"r": 120,
"g": 57,
"b": 191
},
"hsl": {
"h": 268.209,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.49799,
"c": 0.19848,
"h": 300.8
},
"luminance": 0.10681
}Semantic roles & 50–950 ramp
primary
#7839BF
secondary
#ACCA8A
accent
#DD4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83