#7F43CA#7F43CA
#7F43CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.199 H 299.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F43CA |
|---|---|
| RGB | rgb(127, 67, 202) |
| HSL | hsl(267, 56%, 53%) |
| HSV | hsv(267, 67%, 79%) |
| CMYK | cmyk(37.1%, 66.8%, 0%, 20.8%) |
| CIE-LAB | lab(42.45, 52.34, -60.61) |
| CIE-LCH | lch(42.45, 80.09, 310.81°) |
| OKLab | oklab(52.68% 0.0995 -0.1727) |
| OKLCH | oklch(52.68% 0.199 299.9) |
| XYZ | xyz(21.4176, 12.7904, 57.2061) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.50
Bluish Purple
#703BE7
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 4.95
Bluey Purple
#6241C7
ΔE00 5.08
Burple
#6832E3
ΔE00 5.93
Royal Purple
#7851A9
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F43CA #8ECA43
analogous
#434ACA #7F43CA #C343CA
triadic
#7F43CA #CA7F43 #43CA7F
tetradic
#7F43CA #CA434A #8ECA43 #43CAC3
square
#7F43CA #CA434A #8ECA43 #43CAC3
split-complementary
#7F43CA #CAC343 #4ACA43
monochromatic
#452072 #612EA2 #7F43CA #A073D7 #C0A2E5
Accessibility & contrast
On white
5.90
#7F43CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#7F43CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F43CA
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F43CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F43CA | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#6E6281
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f43ca; /* rgb */ color: rgb(127, 67, 202); /* oklch */ color: oklch(52.7% 0.199 299.9);
Tailwind
colors: {
custom: {
50: '#aa7bdb',
500: '#7f43ca',
950: '#000000',
},
}SCSS
$custom: #7f43ca; $custom-light: #aa7bdb; $custom-dark: #000000;
JSON
{
"hex": "#7f43ca",
"rgb": {
"r": 127,
"g": 67,
"b": 202
},
"hsl": {
"h": 266.667,
"s": 56.017,
"l": 52.745
},
"oklch": {
"l": 0.52677,
"c": 0.19925,
"h": 299.9
},
"luminance": 0.12791
}Semantic roles & 50–950 ramp
primary
#7F43CA
secondary
#B8D297
accent
#DF489C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83