#7F3CB5#7F3CB5
#7F3CB5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.185 H 306.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CB5 |
|---|---|
| RGB | rgb(127, 60, 181) |
| HSL | hsl(273, 50%, 47%) |
| HSV | hsv(273, 67%, 71%) |
| CMYK | cmyk(29.8%, 66.9%, 0%, 29%) |
| CIE-LAB | lab(39.72, 50.69, -52.76) |
| CIE-LCH | lch(39.72, 73.17, 313.85°) |
| OKLab | oklab(50.25% 0.1095 -0.1495) |
| OKLCH | oklch(50.25% 0.185 306.2) |
| XYZ | xyz(18.7069, 11.0801, 44.8603) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.14
Purply
#983FB2
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 5.78
Rebeccapurple
#663399
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.37
Bluey Purple
#6241C7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CB5 #72B53C
analogous
#433CB5 #7F3CB5 #B53CAF
triadic
#7F3CB5 #B57F3C #3CB57F
tetradic
#7F3CB5 #B5433C #72B53C #3CAFB5
square
#7F3CB5 #B5433C #72B53C #3CAFB5
split-complementary
#7F3CB5 #AFB53C #3CB543
monochromatic
#3E1E59 #5F2D87 #7F3CB5 #9D63CB #BA91DB
Accessibility & contrast
On white
6.53
#7F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7F3CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CB5
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CB5 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#765673
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f3cb5; /* rgb */ color: rgb(127, 60, 181); /* oklch */ color: oklch(50.2% 0.185 306.2);
Tailwind
colors: {
custom: {
50: '#a876cc',
500: '#7f3cb5',
950: '#000000',
},
}SCSS
$custom: #7f3cb5; $custom-light: #a876cc; $custom-dark: #000000;
JSON
{
"hex": "#7f3cb5",
"rgb": {
"r": 127,
"g": 60,
"b": 181
},
"hsl": {
"h": 273.223,
"s": 50.207,
"l": 47.255
},
"oklch": {
"l": 0.50249,
"c": 0.18535,
"h": 306.2
},
"luminance": 0.1108
}Semantic roles & 50–950 ramp
primary
#7F3CB5
secondary
#A3C687
accent
#DA4E8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82