#7F43C4#7F43C4
#7F43C4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.193 H 301.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43C4 |
|---|---|
| RGB | rgb(127, 67, 196) |
| HSL | hsl(268, 52%, 52%) |
| HSV | hsv(268, 66%, 77%) |
| CMYK | cmyk(35.2%, 65.8%, 0%, 23.1%) |
| CIE-LAB | lab(42.02, 50.85, -57.82) |
| CIE-LCH | lch(42.02, 77.00, 311.33°) |
| OKLab | oklab(52.24% 0.1002 -0.1645) |
| OKLCH | oklch(52.24% 0.193 301.3) |
| XYZ | xyz(20.7210, 12.5118, 53.5372) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 5.26
Bluish Purple
#703BE7
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 5.76
Purply
#983FB2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43C4 #88C443
analogous
#4348C4 #7F43C4 #C043C4
triadic
#7F43C4 #C47F43 #43C47F
tetradic
#7F43C4 #C44348 #88C443 #43C4C0
square
#7F43C4 #C44348 #88C443 #43C4C0
split-complementary
#7F43C4 #C4C043 #48C443
monochromatic
#44226B #61309A #7F43C4 #9F72D3 #BEA0E1
Accessibility & contrast
On white
6.00
#7F43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7F43C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43C4
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43C4 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0162C1
Tritanopia (blue-blind)
#70607E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f43c4; /* rgb */ color: rgb(127, 67, 196); /* oklch */ color: oklch(52.2% 0.193 301.3);
Tailwind
colors: {
custom: {
50: '#a97bd7',
500: '#7f43c4',
950: '#000000',
},
}SCSS
$custom: #7f43c4; $custom-light: #a97bd7; $custom-dark: #000000;
JSON
{
"hex": "#7f43c4",
"rgb": {
"r": 127,
"g": 67,
"b": 196
},
"hsl": {
"h": 267.907,
"s": 52.227,
"l": 51.569
},
"oklch": {
"l": 0.52235,
"c": 0.19255,
"h": 301.3
},
"luminance": 0.12512
}Semantic roles & 50–950 ramp
primary
#7F43C4
secondary
#B3CE95
accent
#DC4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83