#7E3FDA#7E3FDA
#7E3FDA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.221 H 296.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FDA |
|---|---|
| RGB | rgb(126, 63, 218) |
| HSL | hsl(264, 68%, 55%) |
| HSV | hsv(264, 71%, 85%) |
| CMYK | cmyk(42.2%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(42.84, 58.10, -69.19) |
| CIE-LCH | lch(42.84, 90.35, 310.02°) |
| OKLab | oklab(53.31% 0.0995 -0.1979) |
| OKLCH | oklch(53.31% 0.221 296.7) |
| XYZ | xyz(23.0333, 13.0521, 67.6218) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.85
Blueviolet
#8A2BE2
ΔE00 3.17
Burple
#6832E3
ΔE00 4.41
Purpleish Blue
#6140EF
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 5.15
Purpley Blue
#5F34E7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FDA #9BDA3F
analogous
#3F4DDA #7E3FDA #CC3FDA
triadic
#7E3FDA #DA7E3F #3FDA7E
tetradic
#7E3FDA #DA3F4D #9BDA3F #3FDACC
square
#7E3FDA #DA3F4D #9BDA3F #3FDACC
split-complementary
#7E3FDA #DACC3F #4DDA3F
monochromatic
#451A85 #6024B8 #7E3FDA #A072E4 #C3A6EE
Accessibility & contrast
On white
5.82
#7E3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7E3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FDA
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FDA | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#666689
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7e3fda; /* rgb */ color: rgb(126, 63, 218); /* oklch */ color: oklch(53.3% 0.221 296.7);
Tailwind
colors: {
custom: {
50: '#ab79e7',
500: '#7e3fda',
950: '#000000',
},
}SCSS
$custom: #7e3fda; $custom-light: #ab79e7; $custom-dark: #000000;
JSON
{
"hex": "#7e3fda",
"rgb": {
"r": 126,
"g": 63,
"b": 218
},
"hsl": {
"h": 264.387,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.53311,
"c": 0.22146,
"h": 296.7
},
"luminance": 0.13053
}Semantic roles & 50–950 ramp
primary
#7E3FDA
secondary
#C0DB9A
accent
#EB3DA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84