#7843BF#7843BF
#7843BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.186 H 299.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7843BF |
|---|---|
| RGB | rgb(120, 67, 191) |
| HSL | hsl(266, 49%, 51%) |
| HSV | hsv(266, 65%, 75%) |
| CMYK | cmyk(37.2%, 64.9%, 0%, 25.1%) |
| CIE-LAB | lab(40.85, 48.12, -56.85) |
| CIE-LCH | lch(40.85, 74.48, 310.25°) |
| OKLab | oklab(51.1% 0.0911 -0.1618) |
| OKLCH | oklch(51.1% 0.186 299.4) |
| XYZ | xyz(19.1545, 11.7688, 50.5426) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 5.40
Bluish Purple
#703BE7
ΔE00 5.75
Blueviolet
#8A2BE2
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.08
Burple
#6832E3
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7843BF #8ABF43
analogous
#434CBF #7843BF #B643BF
triadic
#7843BF #BF7843 #43BF78
tetradic
#7843BF #BF434C #8ABF43 #43BFB6
square
#7843BF #BF434C #8ABF43 #43BFB6
split-complementary
#7843BF #BFB643 #4CBF43
monochromatic
#3F2265 #5B3293 #7843BF #9971CF #BA9EDE
Accessibility & contrast
On white
6.26
#7843BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7843BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7843BF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7843BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7843BF | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#685F7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7843bf; /* rgb */ color: rgb(120, 67, 191); /* oklch */ color: oklch(51.1% 0.186 299.4);
Tailwind
colors: {
custom: {
50: '#a47ad3',
500: '#7843bf',
950: '#000000',
},
}SCSS
$custom: #7843bf; $custom-light: #a47ad3; $custom-dark: #000000;
JSON
{
"hex": "#7843bf",
"rgb": {
"r": 120,
"g": 67,
"b": 191
},
"hsl": {
"h": 265.645,
"s": 49.206,
"l": 50.588
},
"oklch": {
"l": 0.51096,
"c": 0.18569,
"h": 299.4
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#7843BF
secondary
#B3CA93
accent
#D94F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83