#7B2EA9#7B2EA9
#7B2EA9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.190 H 309.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2EA9 |
|---|---|
| RGB | rgb(123, 46, 169) |
| HSL | hsl(278, 57%, 42%) |
| HSV | hsv(278, 73%, 66%) |
| CMYK | cmyk(27.2%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(36.04, 53.51, -51.59) |
| CIE-LCH | lch(36.04, 74.33, 316.04°) |
| OKLab | oklab(47.24% 0.1206 -0.1462) |
| OKLCH | oklch(47.24% 0.19 309.5) |
| XYZ | xyz(16.3054, 9.0298, 38.4124) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.33
Rebeccapurple
#663399
ΔE00 4.25
Darkviolet
#9400D3
ΔE00 6.63
Purply
#983FB2
ΔE00 7.11
Darkorchid
#9932CC
ΔE00 7.15
Darkmagenta
#8B008B
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2EA9 #5CA92E
analogous
#3E2EA9 #7B2EA9 #A92E9A
triadic
#7B2EA9 #A97B2E #2EA97B
tetradic
#7B2EA9 #A93E2E #5CA92E #2E9AA9
square
#7B2EA9 #A93E2E #5CA92E #2E9AA9
split-complementary
#7B2EA9 #9AA92E #2EA93E
monochromatic
#351449 #582179 #7B2EA9 #9B47CD #B577DA
Accessibility & contrast
On white
7.48
#7B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#7B2EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2EA9
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2EA9 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1156A6
Tritanopia (blue-blind)
#744A69
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7b2ea9; /* rgb */ color: rgb(123, 46, 169); /* oklch */ color: oklch(47.2% 0.190 309.5);
Tailwind
colors: {
custom: {
50: '#a66ec3',
500: '#7b2ea9',
950: '#000000',
},
}SCSS
$custom: #7b2ea9; $custom-light: #a66ec3; $custom-dark: #000000;
JSON
{
"hex": "#7b2ea9",
"rgb": {
"r": 123,
"g": 46,
"b": 169
},
"hsl": {
"h": 277.561,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.47243,
"c": 0.18951,
"h": 309.5
},
"luminance": 0.0903
}Semantic roles & 50–950 ramp
primary
#7B2EA9
secondary
#8FC271
accent
#E04781
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82