#7F3CB4#7F3CB4
#7F3CB4 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.184 H 306.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CB4 |
|---|---|
| RGB | rgb(127, 60, 180) |
| HSL | hsl(274, 50%, 47%) |
| HSV | hsv(274, 67%, 71%) |
| CMYK | cmyk(29.4%, 66.7%, 0%, 29.4%) |
| CIE-LAB | lab(39.65, 50.46, -52.28) |
| CIE-LCH | lch(39.65, 72.66, 313.98°) |
| OKLab | oklab(50.18% 0.1096 -0.1481) |
| OKLCH | oklch(50.18% 0.184 306.5) |
| XYZ | xyz(18.6047, 11.0392, 44.3218) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.21
Purply
#983FB2
ΔE00 5.36
Royal Purple
#7851A9
ΔE00 5.74
Rebeccapurple
#663399
ΔE00 6.11
Purple (survey)
#7E1E9C
ΔE00 6.50
Blueviolet
#8A2BE2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CB4 #71B43C
analogous
#433CB4 #7F3CB4 #B43CAD
triadic
#7F3CB4 #B47F3C #3CB47F
tetradic
#7F3CB4 #B4433C #71B43C #3CADB4
square
#7F3CB4 #B4433C #71B43C #3CADB4
split-complementary
#7F3CB4 #ADB43C #3CB443
monochromatic
#3E1D58 #5F2D86 #7F3CB4 #9D62CB #BA90DA
Accessibility & contrast
On white
6.55
#7F3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#7F3CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CB4
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CB4 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#765673
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f3cb4; /* rgb */ color: rgb(127, 60, 180); /* oklch */ color: oklch(50.2% 0.184 306.5);
Tailwind
colors: {
custom: {
50: '#a876cb',
500: '#7f3cb4',
950: '#000000',
},
}SCSS
$custom: #7f3cb4; $custom-light: #a876cb; $custom-dark: #000000;
JSON
{
"hex": "#7f3cb4",
"rgb": {
"r": 127,
"g": 60,
"b": 180
},
"hsl": {
"h": 273.5,
"s": 50,
"l": 47.059
},
"oklch": {
"l": 0.50177,
"c": 0.18427,
"h": 306.5
},
"luminance": 0.11039
}Semantic roles & 50–950 ramp
primary
#7F3CB4
secondary
#A2C587
accent
#DA4E8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82