#7A35AB#7A35AB
#7A35AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.183 H 307.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7A35AB |
|---|---|
| RGB | rgb(122, 53, 171) |
| HSL | hsl(275, 53%, 44%) |
| HSV | hsv(275, 69%, 67%) |
| CMYK | cmyk(28.7%, 69%, 0%, 32.9%) |
| CIE-LAB | lab(37.16, 50.62, -50.99) |
| CIE-LCH | lch(37.16, 71.85, 314.79°) |
| OKLab | oklab(48.06% 0.1116 -0.1445) |
| OKLCH | oklch(48.06% 0.183 307.7) |
| XYZ | xyz(16.6483, 9.6243, 39.5008) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Purple (survey)
#7E1E9C
ΔE00 4.57
Purply
#983FB2
ΔE00 6.59
Darkorchid
#9932CC
ΔE00 6.74
Darkviolet
#9400D3
ΔE00 6.89
Royal Purple
#7851A9
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A35AB #66AB35
analogous
#3F35AB #7A35AB #AB35A1
triadic
#7A35AB #AB7A35 #35AB7A
tetradic
#7A35AB #AB3F35 #66AB35 #35A1AB
square
#7A35AB #AB3F35 #66AB35 #35A1AB
split-complementary
#7A35AB #A1AB35 #35AB3F
monochromatic
#37184E #59277C #7A35AB #9953CA #B582D8
Accessibility & contrast
On white
7.18
#7A35AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#7A35AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A35AB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A35AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A35AB | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#724F6C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a35ab; /* rgb */ color: rgb(122, 53, 171); /* oklch */ color: oklch(48.1% 0.183 307.7);
Tailwind
colors: {
custom: {
50: '#a572c5',
500: '#7a35ab',
950: '#000000',
},
}SCSS
$custom: #7a35ab; $custom-light: #a572c5; $custom-dark: #000000;
JSON
{
"hex": "#7a35ab",
"rgb": {
"r": 122,
"g": 53,
"b": 171
},
"hsl": {
"h": 275.085,
"s": 52.679,
"l": 43.922
},
"oklch": {
"l": 0.48055,
"c": 0.18256,
"h": 307.7
},
"luminance": 0.09624
}Semantic roles & 50–950 ramp
primary
#7A35AB
secondary
#98C27A
accent
#DC4C88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82