#7F3CB3#7F3CB3
#7F3CB3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.183 H 306.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CB3 |
|---|---|
| RGB | rgb(127, 60, 179) |
| HSL | hsl(274, 50%, 47%) |
| HSV | hsv(274, 66%, 70%) |
| CMYK | cmyk(29.1%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(39.58, 50.22, -51.80) |
| CIE-LCH | lch(39.58, 72.15, 314.11°) |
| OKLab | oklab(50.11% 0.1097 -0.1467) |
| OKLCH | oklch(50.11% 0.183 306.8) |
| XYZ | xyz(18.5032, 10.9986, 43.7873) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.29
Purply
#983FB2
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 5.70
Rebeccapurple
#663399
ΔE00 6.03
Purple (survey)
#7E1E9C
ΔE00 6.40
Darkviolet
#9400D3
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CB3 #70B33C
analogous
#443CB3 #7F3CB3 #B33CAC
triadic
#7F3CB3 #B37F3C #3CB37F
tetradic
#7F3CB3 #B3443C #70B33C #3CACB3
square
#7F3CB3 #B3443C #70B33C #3CACB3
split-complementary
#7F3CB3 #ACB33C #3CB344
monochromatic
#3E1D57 #5E2D85 #7F3CB3 #9D62CA #B990DA
Accessibility & contrast
On white
6.56
#7F3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7F3CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CB3
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CB3 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#765672
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f3cb3; /* rgb */ color: rgb(127, 60, 179); /* oklch */ color: oklch(50.1% 0.183 306.8);
Tailwind
colors: {
custom: {
50: '#a876ca',
500: '#7f3cb3',
950: '#000000',
},
}SCSS
$custom: #7f3cb3; $custom-light: #a876ca; $custom-dark: #000000;
JSON
{
"hex": "#7f3cb3",
"rgb": {
"r": 127,
"g": 60,
"b": 179
},
"hsl": {
"h": 273.782,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.50107,
"c": 0.1832,
"h": 306.8
},
"luminance": 0.10998
}Semantic roles & 50–950 ramp
primary
#7F3CB3
secondary
#A1C586
accent
#D94E8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82