#7B36AB#7B36AB
#7B36AB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.182 H 308.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7B36AB |
|---|---|
| RGB | rgb(123, 54, 171) |
| HSL | hsl(275, 52%, 44%) |
| HSV | hsv(275, 68%, 67%) |
| CMYK | cmyk(28.1%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(37.46, 50.37, -50.49) |
| CIE-LCH | lch(37.46, 71.32, 314.93°) |
| OKLab | oklab(48.3% 0.1119 -0.143) |
| OKLCH | oklch(48.3% 0.182 308) |
| XYZ | xyz(16.8367, 9.7898, 39.5228) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.47
Purple (survey)
#7E1E9C
ΔE00 4.69
Purply
#983FB2
ΔE00 6.31
Darkorchid
#9932CC
ΔE00 6.58
Royal Purple
#7851A9
ΔE00 6.76
Darkviolet
#9400D3
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B36AB #66AB36
analogous
#4136AB #7B36AB #AB36A1
triadic
#7B36AB #AB7B36 #36AB7B
tetradic
#7B36AB #AB4136 #66AB36 #36A1AB
square
#7B36AB #AB4136 #66AB36 #36A1AB
split-complementary
#7B36AB #A1AB36 #36AB41
monochromatic
#38194E #5A277C #7B36AB #9A55C9 #B583D8
Accessibility & contrast
On white
7.10
#7B36AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7B36AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B36AB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B36AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B36AB | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#744F6C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7b36ab; /* rgb */ color: rgb(123, 54, 171); /* oklch */ color: oklch(48.3% 0.182 308.0);
Tailwind
colors: {
custom: {
50: '#a572c5',
500: '#7b36ab',
950: '#000000',
},
}SCSS
$custom: #7b36ab; $custom-light: #a572c5; $custom-dark: #000000;
JSON
{
"hex": "#7b36ab",
"rgb": {
"r": 123,
"g": 54,
"b": 171
},
"hsl": {
"h": 275.385,
"s": 52,
"l": 44.118
},
"oklch": {
"l": 0.48301,
"c": 0.18154,
"h": 308
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#7B36AB
secondary
#98C27B
accent
#DB4C87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82