#7F43C3#7F43C3
#7F43C3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.191 H 301.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43C3 |
|---|---|
| RGB | rgb(127, 67, 195) |
| HSL | hsl(268, 52%, 51%) |
| HSV | hsv(268, 66%, 76%) |
| CMYK | cmyk(34.9%, 65.6%, 0%, 23.5%) |
| CIE-LAB | lab(41.95, 50.60, -57.36) |
| CIE-LCH | lch(41.95, 76.49, 311.42°) |
| OKLab | oklab(52.16% 0.1003 -0.1631) |
| OKLCH | oklch(52.16% 0.191 301.6) |
| XYZ | xyz(20.6075, 12.4664, 52.9398) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 5.66
Bluish Purple
#703BE7
ΔE00 5.76
Purply
#983FB2
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43C3 #87C343
analogous
#4347C3 #7F43C3 #BF43C3
triadic
#7F43C3 #C37F43 #43C37F
tetradic
#7F43C3 #C34347 #87C343 #43C3BF
square
#7F43C3 #C34347 #87C343 #43C3BF
split-complementary
#7F43C3 #C3BF43 #47C343
monochromatic
#44226A #613198 #7F43C3 #9F71D2 #BEA0E1
Accessibility & contrast
On white
6.01
#7F43C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7F43C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43C3
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43C3 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#71607D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f43c3; /* rgb */ color: rgb(127, 67, 195); /* oklch */ color: oklch(52.2% 0.191 301.6);
Tailwind
colors: {
custom: {
50: '#a97bd6',
500: '#7f43c3',
950: '#000000',
},
}SCSS
$custom: #7f43c3; $custom-light: #a97bd6; $custom-dark: #000000;
JSON
{
"hex": "#7f43c3",
"rgb": {
"r": 127,
"g": 67,
"b": 195
},
"hsl": {
"h": 268.125,
"s": 51.613,
"l": 51.373
},
"oklch": {
"l": 0.52162,
"c": 0.19143,
"h": 301.6
},
"luminance": 0.12466
}Semantic roles & 50–950 ramp
primary
#7F43C3
secondary
#B3CD95
accent
#DB4D98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83