#7938BE#7938BE
#7938BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.199 H 301.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7938BE |
|---|---|
| RGB | rgb(121, 56, 190) |
| HSL | hsl(269, 54%, 48%) |
| HSV | hsv(269, 71%, 75%) |
| CMYK | cmyk(36.3%, 70.5%, 0%, 25.5%) |
| CIE-LAB | lab(38.92, 53.53, -59.38) |
| CIE-LCH | lch(38.92, 79.95, 312.03°) |
| OKLab | oklab(49.72% 0.1043 -0.1692) |
| OKLCH | oklch(49.72% 0.199 301.7) |
| XYZ | xyz(18.5914, 10.6109, 49.7739) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.78
Blueviolet
#8A2BE2
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.68
Burple
#6832E3
ΔE00 5.77
Darkviolet
#9400D3
ΔE00 5.84
Bluish Purple
#703BE7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7938BE #7DBE38
analogous
#383ABE #7938BE #BC38BE
triadic
#7938BE #BE7938 #38BE79
tetradic
#7938BE #BE383A #7DBE38 #38BEBC
square
#7938BE #BE383A #7DBE38 #38BEBC
split-complementary
#7938BE #BEBC38 #3ABE38
monochromatic
#3D1C5F #5B2A8F #7938BE #9862D1 #B792DF
Accessibility & contrast
On white
6.73
#7938BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7938BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7938BE
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7938BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7938BE | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6A5877
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7938be; /* rgb */ color: rgb(121, 56, 190); /* oklch */ color: oklch(49.7% 0.199 301.7);
Tailwind
colors: {
custom: {
50: '#a574d2',
500: '#7938be',
950: '#000000',
},
}SCSS
$custom: #7938be; $custom-light: #a574d2; $custom-dark: #000000;
JSON
{
"hex": "#7938be",
"rgb": {
"r": 121,
"g": 56,
"b": 190
},
"hsl": {
"h": 269.104,
"s": 54.472,
"l": 48.235
},
"oklch": {
"l": 0.49717,
"c": 0.19878,
"h": 301.7
},
"luminance": 0.10611
}Semantic roles & 50–950 ramp
primary
#7938BE
secondary
#AACA88
accent
#DE4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83