#7F43C5#7F43C5
#7F43C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.194 H 301.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43C5 |
|---|---|
| RGB | rgb(127, 67, 197) |
| HSL | hsl(268, 53%, 52%) |
| HSV | hsv(268, 66%, 77%) |
| CMYK | cmyk(35.5%, 66%, 0%, 22.7%) |
| CIE-LAB | lab(42.09, 51.10, -58.29) |
| CIE-LCH | lch(42.09, 77.52, 311.24°) |
| OKLab | oklab(52.31% 0.1 -0.1658) |
| OKLCH | oklch(52.31% 0.194 301.1) |
| XYZ | xyz(20.8352, 12.5574, 54.1386) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 4.95
Bluey Purple
#6241C7
ΔE00 5.22
Bluish Purple
#703BE7
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 5.87
Burple
#6832E3
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43C5 #89C543
analogous
#4348C5 #7F43C5 #C043C5
triadic
#7F43C5 #C57F43 #43C57F
tetradic
#7F43C5 #C54348 #89C543 #43C5C0
square
#7F43C5 #C54348 #89C543 #43C5C0
split-complementary
#7F43C5 #C5C043 #48C543
monochromatic
#44216C #61309B #7F43C5 #9F72D3 #BFA1E2
Accessibility & contrast
On white
5.98
#7F43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#7F43C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43C5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43C5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#70607E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f43c5; /* rgb */ color: rgb(127, 67, 197); /* oklch */ color: oklch(52.3% 0.194 301.1);
Tailwind
colors: {
custom: {
50: '#a97bd7',
500: '#7f43c5',
950: '#000000',
},
}SCSS
$custom: #7f43c5; $custom-light: #a97bd7; $custom-dark: #000000;
JSON
{
"hex": "#7f43c5",
"rgb": {
"r": 127,
"g": 67,
"b": 197
},
"hsl": {
"h": 267.692,
"s": 52.846,
"l": 51.765
},
"oklch": {
"l": 0.52308,
"c": 0.19367,
"h": 301.1
},
"luminance": 0.12558
}Semantic roles & 50–950 ramp
primary
#7F43C5
secondary
#B4CE95
accent
#DC4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83