#7E3FCA#7E3FCA
#7E3FCA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.204 H 300.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FCA |
|---|---|
| RGB | rgb(126, 63, 202) |
| HSL | hsl(267, 57%, 52%) |
| HSV | hsv(267, 69%, 79%) |
| CMYK | cmyk(37.6%, 68.8%, 0%, 20.8%) |
| CIE-LAB | lab(41.62, 54.11, -61.96) |
| CIE-LCH | lch(41.62, 82.26, 311.13°) |
| OKLab | oklab(52.06% 0.1022 -0.1766) |
| OKLCH | oklch(52.06% 0.204 300.1) |
| XYZ | xyz(21.0397, 12.2547, 57.1226) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.04
Bluish Purple
#703BE7
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 4.81
Darkorchid
#9932CC
ΔE00 4.84
Burple
#6832E3
ΔE00 5.37
Darkviolet
#9400D3
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FCA #8BCA3F
analogous
#3F46CA #7E3FCA #C43FCA
triadic
#7E3FCA #CA7E3F #3FCA7E
tetradic
#7E3FCA #CA3F46 #8BCA3F #3FCAC4
square
#7E3FCA #CA3F46 #8BCA3F #3FCAC4
split-complementary
#7E3FCA #CAC43F #46CA3F
monochromatic
#441F70 #602CA0 #7E3FCA #9E6FD7 #BE9FE4
Accessibility & contrast
On white
6.09
#7E3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7E3FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FCA
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FCA | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#6D6080
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7e3fca; /* rgb */ color: rgb(126, 63, 202); /* oklch */ color: oklch(52.1% 0.204 300.1);
Tailwind
colors: {
custom: {
50: '#a979db',
500: '#7e3fca',
950: '#000000',
},
}SCSS
$custom: #7e3fca; $custom-light: #a979db; $custom-dark: #000000;
JSON
{
"hex": "#7e3fca",
"rgb": {
"r": 126,
"g": 63,
"b": 202
},
"hsl": {
"h": 267.194,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.52058,
"c": 0.2041,
"h": 300.1
},
"luminance": 0.12255
}Semantic roles & 50–950 ramp
primary
#7E3FCA
secondary
#B5D194
accent
#E0489B
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83