#7F4FEB#7F4FEB
#7F4FEB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.222 H 291.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FEB |
|---|---|
| RGB | rgb(127, 79, 235) |
| HSL | hsl(258, 80%, 62%) |
| HSV | hsv(258, 66%, 92%) |
| CMYK | cmyk(46%, 66.4%, 0%, 7.8%) |
| CIE-LAB | lab(47.11, 54.79, -71.88) |
| CIE-LCH | lch(47.11, 90.39, 307.32°) |
| OKLab | oklab(56.79% 0.0829 -0.2058) |
| OKLCH | oklch(56.79% 0.222 291.9) |
| XYZ | xyz(26.5396, 16.1012, 80.2907) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Bluish Purple
#703BE7
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.43
Purpleish Blue
#6140EF
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FEB #BBEB4F
analogous
#4F6DEB #7F4FEB #CD4FEB
triadic
#7F4FEB #EB7F4F #4FEB7F
tetradic
#7F4FEB #EB4F6D #BBEB4F #4FEBCD
square
#7F4FEB #EB4F6D #BBEB4F #4FEBCD
split-complementary
#7F4FEB #EBCD4F #6DEB4F
monochromatic
#4214AC #581AE3 #7F4FEB #A786F1 #CFBDF7
Accessibility & contrast
On white
4.98
#7F4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7F4FEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FEB
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FEB | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#5E7597
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7f4feb; /* rgb */ color: rgb(127, 79, 235); /* oklch */ color: oklch(56.8% 0.222 291.9);
Tailwind
colors: {
custom: {
50: '#ac83f2',
500: '#7f4feb',
950: '#000000',
},
}SCSS
$custom: #7f4feb; $custom-light: #ac83f2; $custom-dark: #000000;
JSON
{
"hex": "#7f4feb",
"rgb": {
"r": 127,
"g": 79,
"b": 235
},
"hsl": {
"h": 258.462,
"s": 79.592,
"l": 61.569
},
"oklch": {
"l": 0.56788,
"c": 0.22188,
"h": 291.9
},
"luminance": 0.16102
}Semantic roles & 50–950 ramp
primary
#7F4FEB
secondary
#D6E8AE
accent
#DC0A9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85