#7F3CBF#7F3CBF
#7F3CBF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.196 H 303.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CBF |
|---|---|
| RGB | rgb(127, 60, 191) |
| HSL | hsl(271, 52%, 49%) |
| HSV | hsv(271, 69%, 75%) |
| CMYK | cmyk(33.5%, 68.6%, 0%, 25.1%) |
| CIE-LAB | lab(40.42, 53.07, -57.50) |
| CIE-LCH | lch(40.42, 78.24, 312.70°) |
| OKLab | oklab(50.98% 0.1083 -0.1635) |
| OKLCH | oklch(50.98% 0.196 303.5) |
| XYZ | xyz(19.7701, 11.5054, 50.4593) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.86
Purply
#983FB2
ΔE00 6.09
Bluish Purple
#703BE7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CBF #7CBF3C
analogous
#3E3CBF #7F3CBF #BF3CBE
triadic
#7F3CBF #BF7F3C #3CBF7F
tetradic
#7F3CBF #BF3E3C #7CBF3C #3CBEBF
square
#7F3CBF #BF3E3C #7CBF3C #3CBEBF
split-complementary
#7F3CBF #BEBF3C #3CBF3E
monochromatic
#411F62 #602D90 #7F3CBF #9D68D0 #BC97DE
Accessibility & contrast
On white
6.36
#7F3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7F3CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CBF
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CBF | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#725A79
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3cbf; /* rgb */ color: rgb(127, 60, 191); /* oklch */ color: oklch(51.0% 0.196 303.5);
Tailwind
colors: {
custom: {
50: '#a977d3',
500: '#7f3cbf',
950: '#000000',
},
}SCSS
$custom: #7f3cbf; $custom-light: #a977d3; $custom-dark: #000000;
JSON
{
"hex": "#7f3cbf",
"rgb": {
"r": 127,
"g": 60,
"b": 191
},
"hsl": {
"h": 270.687,
"s": 52.191,
"l": 49.216
},
"oklch": {
"l": 0.50976,
"c": 0.1961,
"h": 303.5
},
"luminance": 0.11505
}Semantic roles & 50–950 ramp
primary
#7F3CBF
secondary
#ABCA8D
accent
#DC4C92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83