#7F43C7#7F43C7
#7F43C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.196 H 300.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43C7 |
|---|---|
| RGB | rgb(127, 67, 199) |
| HSL | hsl(267, 54%, 52%) |
| HSV | hsv(267, 66%, 78%) |
| CMYK | cmyk(36.2%, 66.3%, 0%, 22%) |
| CIE-LAB | lab(42.23, 51.59, -59.22) |
| CIE-LCH | lch(42.23, 78.54, 311.06°) |
| OKLab | oklab(52.46% 0.0998 -0.1686) |
| OKLCH | oklch(52.46% 0.196 300.6) |
| XYZ | xyz(21.0658, 12.6497, 55.3536) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.76
Darkorchid
#9932CC
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 5.15
Bluish Purple
#703BE7
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 6.09
Burple
#6832E3
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43C7 #8BC743
analogous
#4349C7 #7F43C7 #C143C7
triadic
#7F43C7 #C77F43 #43C77F
tetradic
#7F43C7 #C74349 #8BC743 #43C7C1
square
#7F43C7 #C74349 #8BC743 #43C7C1
split-complementary
#7F43C7 #C7C143 #49C743
monochromatic
#44216F #612F9E #7F43C7 #9F72D5 #BFA1E3
Accessibility & contrast
On white
5.95
#7F43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7F43C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43C7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43C7 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#6F617F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f43c7; /* rgb */ color: rgb(127, 67, 199); /* oklch */ color: oklch(52.5% 0.196 300.6);
Tailwind
colors: {
custom: {
50: '#a97bd9',
500: '#7f43c7',
950: '#000000',
},
}SCSS
$custom: #7f43c7; $custom-light: #a97bd9; $custom-dark: #000000;
JSON
{
"hex": "#7f43c7",
"rgb": {
"r": 127,
"g": 67,
"b": 199
},
"hsl": {
"h": 267.273,
"s": 54.098,
"l": 52.157
},
"oklch": {
"l": 0.52455,
"c": 0.19591,
"h": 300.6
},
"luminance": 0.1265
}Semantic roles & 50–950 ramp
primary
#7F43C7
secondary
#B6D096
accent
#DD4A9B
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83