#7F3EBF#7F3EBF
#7F3EBF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.194 H 303.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3EBF |
|---|---|
| RGB | rgb(127, 62, 191) |
| HSL | hsl(270, 51%, 50%) |
| HSV | hsv(270, 68%, 75%) |
| CMYK | cmyk(33.5%, 67.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.77, 52.10, -56.94) |
| CIE-LCH | lch(40.77, 77.18, 312.46°) |
| OKLab | oklab(51.22% 0.1062 -0.1618) |
| OKLCH | oklch(51.22% 0.194 303.3) |
| XYZ | xyz(19.8768, 11.7189, 50.4949) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.67
Blueviolet
#8A2BE2
ΔE00 5.12
Bluey Purple
#6241C7
ΔE00 5.48
Purply
#983FB2
ΔE00 6.01
Royal Purple
#7851A9
ΔE00 6.04
Darkviolet
#9400D3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3EBF #7EBF3E
analogous
#3F3EBF #7F3EBF #BF3EBE
triadic
#7F3EBF #BF7F3E #3EBF7F
tetradic
#7F3EBF #BF3F3E #7EBF3E #3EBEBF
square
#7F3EBF #BF3F3E #7EBF3E #3EBEBF
split-complementary
#7F3EBF #BEBF3E #3EBF3F
monochromatic
#422063 #602F91 #7F3EBF #9D6BCF #BC99DE
Accessibility & contrast
On white
6.28
#7F3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7F3EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3EBF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3EBF | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#725B79
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3ebf; /* rgb */ color: rgb(127, 62, 191); /* oklch */ color: oklch(51.2% 0.194 303.3);
Tailwind
colors: {
custom: {
50: '#a978d3',
500: '#7f3ebf',
950: '#000000',
},
}SCSS
$custom: #7f3ebf; $custom-light: #a978d3; $custom-dark: #000000;
JSON
{
"hex": "#7f3ebf",
"rgb": {
"r": 127,
"g": 62,
"b": 191
},
"hsl": {
"h": 270.233,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.51224,
"c": 0.19355,
"h": 303.3
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#7F3EBF
secondary
#ACCA8F
accent
#DA4D93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83