#7A319B#7A319B
#7A319B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.171 H 313.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7A319B |
|---|---|
| RGB | rgb(122, 49, 155) |
| HSL | hsl(281, 52%, 40%) |
| HSV | hsv(281, 68%, 61%) |
| CMYK | cmyk(21.3%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(35.40, 48.88, -44.20) |
| CIE-LCH | lch(35.40, 65.90, 317.88°) |
| OKLab | oklab(46.45% 0.1177 -0.1245) |
| OKLCH | oklch(46.45% 0.171 313.4) |
| XYZ | xyz(15.0397, 8.7012, 31.8912) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.91
Rebeccapurple
#663399
ΔE00 4.02
Darkmagenta
#8B008B
ΔE00 6.52
Warm Purple
#952E8F
ΔE00 6.90
Purply
#983FB2
ΔE00 7.24
Purple
#800080
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A319B #529B31
analogous
#45319B #7A319B #9B3187
triadic
#7A319B #9B7A31 #319B7A
tetradic
#7A319B #9B4531 #529B31 #31879B
square
#7A319B #9B4531 #529B31 #31879B
split-complementary
#7A319B #879B31 #319B45
monochromatic
#31143E #55226D #7A319B #9D45C4 #B573D3
Accessibility & contrast
On white
7.66
#7A319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#7A319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A319B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A319B | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#774662
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7a319b; /* rgb */ color: rgb(122, 49, 155); /* oklch */ color: oklch(46.4% 0.171 313.4);
Tailwind
colors: {
custom: {
50: '#a46fb9',
500: '#7a319b',
950: '#000000',
},
}SCSS
$custom: #7a319b; $custom-light: #a46fb9; $custom-dark: #000000;
JSON
{
"hex": "#7a319b",
"rgb": {
"r": 122,
"g": 49,
"b": 155
},
"hsl": {
"h": 281.321,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.46449,
"c": 0.1713,
"h": 313.4
},
"luminance": 0.08701
}Semantic roles & 50–950 ramp
primary
#7A319B
secondary
#85BB6D
accent
#DB4C79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80