#7F3CA9#7F3CA9
#7F3CA9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.172 H 309.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CA9 |
|---|---|
| RGB | rgb(127, 60, 169) |
| HSL | hsl(277, 48%, 45%) |
| HSV | hsv(277, 64%, 66%) |
| CMYK | cmyk(24.9%, 64.5%, 0%, 33.7%) |
| CIE-LAB | lab(38.91, 47.91, -46.93) |
| CIE-LCH | lch(38.91, 67.07, 315.59°) |
| OKLab | oklab(49.42% 0.1104 -0.1324) |
| OKLCH | oklch(49.42% 0.172 309.8) |
| XYZ | xyz(17.5283, 10.6087, 38.6527) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 5.06
Rebeccapurple
#663399
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 5.58
Purple (survey)
#7E1E9C
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 6.28
Darkviolet
#9400D3
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CA9 #66A93C
analogous
#493CA9 #7F3CA9 #A93C9C
triadic
#7F3CA9 #A97F3C #3CA97F
tetradic
#7F3CA9 #A9493C #66A93C #3C9CA9
square
#7F3CA9 #A9493C #66A93C #3C9CA9
split-complementary
#7F3CA9 #9CA93C #3CA949
monochromatic
#3B1C4F #5D2C7C #7F3CA9 #9D5DC5 #B88AD5
Accessibility & contrast
On white
6.73
#7F3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7F3CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CA9
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CA9 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#2D5DA6
Tritanopia (blue-blind)
#79526D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f3ca9; /* rgb */ color: rgb(127, 60, 169); /* oklch */ color: oklch(49.4% 0.172 309.8);
Tailwind
colors: {
custom: {
50: '#a876c3',
500: '#7f3ca9',
950: '#000000',
},
}SCSS
$custom: #7f3ca9; $custom-light: #a876c3; $custom-dark: #000000;
JSON
{
"hex": "#7f3ca9",
"rgb": {
"r": 127,
"g": 60,
"b": 169
},
"hsl": {
"h": 276.881,
"s": 47.598,
"l": 44.902
},
"oklch": {
"l": 0.49416,
"c": 0.17243,
"h": 309.8
},
"luminance": 0.10608
}Semantic roles & 50–950 ramp
primary
#7F3CA9
secondary
#99C081
accent
#D75184
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81