#7F43BC#7F43BC
#7F43BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.184 H 303.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43BC |
|---|---|
| RGB | rgb(127, 67, 188) |
| HSL | hsl(270, 47%, 50%) |
| HSV | hsv(270, 64%, 74%) |
| CMYK | cmyk(32.4%, 64.4%, 0%, 26.3%) |
| CIE-LAB | lab(41.46, 48.88, -54.05) |
| CIE-LCH | lch(41.46, 72.87, 312.12°) |
| OKLab | oklab(51.66% 0.1009 -0.1534) |
| OKLCH | oklch(51.66% 0.184 303.3) |
| XYZ | xyz(19.8346, 12.1572, 48.8688) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.97
Darkorchid
#9932CC
ΔE00 5.06
Purply
#983FB2
ΔE00 5.70
Bluey Purple
#6241C7
ΔE00 5.77
Blueviolet
#8A2BE2
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43BC #80BC43
analogous
#4344BC #7F43BC #BB43BC
triadic
#7F43BC #BC7F43 #43BC7F
tetradic
#7F43BC #BC4344 #80BC43 #43BCBB
square
#7F43BC #BC4344 #80BC43 #43BCBB
split-complementary
#7F43BC #BCBB43 #44BC43
monochromatic
#422362 #61338F #7F43BC #9E70CC #BC9DDC
Accessibility & contrast
On white
6.12
#7F43BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7F43BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43BC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43BC | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#1C62B9
Tritanopia (blue-blind)
#735D79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f43bc; /* rgb */ color: rgb(127, 67, 188); /* oklch */ color: oklch(51.7% 0.184 303.3);
Tailwind
colors: {
custom: {
50: '#a87bd1',
500: '#7f43bc',
950: '#000000',
},
}SCSS
$custom: #7f43bc; $custom-light: #a87bd1; $custom-dark: #000000;
JSON
{
"hex": "#7f43bc",
"rgb": {
"r": 127,
"g": 67,
"b": 188
},
"hsl": {
"h": 269.752,
"s": 47.451,
"l": 50
},
"oklch": {
"l": 0.51661,
"c": 0.18356,
"h": 303.3
},
"luminance": 0.12157
}Semantic roles & 50–950 ramp
primary
#7F43BC
secondary
#AEC992
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82