#7938BF#7938BF
#7938BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.200 H 301.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7938BF |
|---|---|
| RGB | rgb(121, 56, 191) |
| HSL | hsl(269, 55%, 48%) |
| HSV | hsv(269, 71%, 75%) |
| CMYK | cmyk(36.6%, 70.7%, 0%, 25.1%) |
| CIE-LAB | lab(38.99, 53.77, -59.85) |
| CIE-LCH | lch(38.99, 80.46, 311.94°) |
| OKLab | oklab(49.8% 0.1042 -0.1705) |
| OKLCH | oklch(49.8% 0.2 301.4) |
| XYZ | xyz(18.7010, 10.6548, 50.3514) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.70
Blueviolet
#8A2BE2
ΔE00 5.12
Burple
#6832E3
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 5.66
Darkviolet
#9400D3
ΔE00 5.80
Bluish Purple
#703BE7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7938BF #7EBF38
analogous
#383ABF #7938BF #BC38BF
triadic
#7938BF #BF7938 #38BF79
tetradic
#7938BF #BF383A #7EBF38 #38BFBC
square
#7938BF #BF383A #7EBF38 #38BFBC
split-complementary
#7938BF #BFBC38 #3ABF38
monochromatic
#3D1C60 #5B2A90 #7938BF #9863D1 #B792DF
Accessibility & contrast
On white
6.71
#7938BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#7938BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7938BF
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7938BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7938BF | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6A5878
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7938bf; /* rgb */ color: rgb(121, 56, 191); /* oklch */ color: oklch(49.8% 0.200 301.4);
Tailwind
colors: {
custom: {
50: '#a574d3',
500: '#7938bf',
950: '#000000',
},
}SCSS
$custom: #7938bf; $custom-light: #a574d3; $custom-dark: #000000;
JSON
{
"hex": "#7938bf",
"rgb": {
"r": 121,
"g": 56,
"b": 191
},
"hsl": {
"h": 268.889,
"s": 54.656,
"l": 48.431
},
"oklch": {
"l": 0.49795,
"c": 0.19985,
"h": 301.4
},
"luminance": 0.10655
}Semantic roles & 50–950 ramp
primary
#7938BF
secondary
#ABCA89
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83