#7943BF#7943BF
#7943BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.186 H 299.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7943BF |
|---|---|
| RGB | rgb(121, 67, 191) |
| HSL | hsl(266, 49%, 51%) |
| HSV | hsv(266, 65%, 75%) |
| CMYK | cmyk(36.6%, 64.9%, 0%, 25.1%) |
| CIE-LAB | lab(40.96, 48.33, -56.65) |
| CIE-LCH | lch(40.96, 74.47, 310.47°) |
| OKLab | oklab(51.21% 0.0925 -0.1612) |
| OKLCH | oklch(51.21% 0.186 299.8) |
| XYZ | xyz(19.2940, 11.8407, 50.5491) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.43
Royal Purple
#7851A9
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 5.81
Bluish Purple
#703BE7
ΔE00 5.81
Darkorchid
#9932CC
ΔE00 5.92
Burple
#6832E3
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943BF #89BF43
analogous
#434BBF #7943BF #B743BF
triadic
#7943BF #BF7943 #43BF79
tetradic
#7943BF #BF434B #89BF43 #43BFB7
square
#7943BF #BF434B #89BF43 #43BFB7
split-complementary
#7943BF #BFB743 #4BBF43
monochromatic
#3F2265 #5C3293 #7943BF #9A71CF #BA9EDE
Accessibility & contrast
On white
6.23
#7943BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7943BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943BF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943BF | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#695F7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7943bf; /* rgb */ color: rgb(121, 67, 191); /* oklch */ color: oklch(51.2% 0.186 299.8);
Tailwind
colors: {
custom: {
50: '#a57ad3',
500: '#7943bf',
950: '#000000',
},
}SCSS
$custom: #7943bf; $custom-light: #a57ad3; $custom-dark: #000000;
JSON
{
"hex": "#7943bf",
"rgb": {
"r": 121,
"g": 67,
"b": 191
},
"hsl": {
"h": 266.129,
"s": 49.206,
"l": 50.588
},
"oklch": {
"l": 0.51205,
"c": 0.18585,
"h": 299.8
},
"luminance": 0.11841
}Semantic roles & 50–950 ramp
primary
#7943BF
secondary
#B2CA93
accent
#D94F9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83