#7F3FDA#7F3FDA
#7F3FDA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.222 H 297.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FDA |
|---|---|
| RGB | rgb(127, 63, 218) |
| HSL | hsl(265, 68%, 55%) |
| HSV | hsv(265, 71%, 85%) |
| CMYK | cmyk(41.7%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(42.96, 58.27, -68.99) |
| CIE-LCH | lch(42.96, 90.31, 310.18°) |
| OKLab | oklab(53.42% 0.1009 -0.1973) |
| OKLCH | oklch(53.42% 0.222 297.1) |
| XYZ | xyz(23.1815, 13.1286, 67.6288) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.99
Blueviolet
#8A2BE2
ΔE00 3.11
Burple
#6832E3
ΔE00 4.56
Purpleish Blue
#6140EF
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FDA #9ADA3F
analogous
#3F4CDA #7F3FDA #CC3FDA
triadic
#7F3FDA #DA7F3F #3FDA7F
tetradic
#7F3FDA #DA3F4C #9ADA3F #3FDACC
square
#7F3FDA #DA3F4C #9ADA3F #3FDACC
split-complementary
#7F3FDA #DACC3F #4CDA3F
monochromatic
#461A85 #6124B8 #7F3FDA #A172E4 #C3A6EE
Accessibility & contrast
On white
5.79
#7F3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7F3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FDA
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FDA | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#686689
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f3fda; /* rgb */ color: rgb(127, 63, 218); /* oklch */ color: oklch(53.4% 0.222 297.1);
Tailwind
colors: {
custom: {
50: '#ab79e6',
500: '#7f3fda',
950: '#000000',
},
}SCSS
$custom: #7f3fda; $custom-light: #ab79e6; $custom-dark: #000000;
JSON
{
"hex": "#7f3fda",
"rgb": {
"r": 127,
"g": 63,
"b": 218
},
"hsl": {
"h": 264.774,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.53418,
"c": 0.22156,
"h": 297.1
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#7F3FDA
secondary
#C0DB9A
accent
#EB3DA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84