#7A2FB6#7A2FB6
#7A2FB6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.201 H 305.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FB6 |
|---|---|
| RGB | rgb(122, 47, 182) |
| HSL | hsl(273, 59%, 45%) |
| HSV | hsv(273, 74%, 71%) |
| CMYK | cmyk(33%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(37.02, 55.83, -57.75) |
| CIE-LCH | lch(37.02, 80.33, 314.03°) |
| OKLab | oklab(48.21% 0.116 -0.1643) |
| OKLCH | oklch(48.21% 0.201 305.2) |
| XYZ | xyz(17.4842, 9.5481, 45.1688) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.17
Rebeccapurple
#663399
ΔE00 5.22
Darkviolet
#9400D3
ΔE00 5.46
Darkorchid
#9932CC
ΔE00 6.26
Blueviolet
#8A2BE2
ΔE00 6.33
Bluey Purple
#6241C7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FB6 #6BB62F
analogous
#362FB6 #7A2FB6 #B62FAF
triadic
#7A2FB6 #B67A2F #2FB67A
tetradic
#7A2FB6 #B6362F #6BB62F #2FAFB6
square
#7A2FB6 #B6362F #6BB62F #2FAFB6
split-complementary
#7A2FB6 #AFB62F #2FB636
monochromatic
#391655 #592285 #7A2FB6 #9850D2 #B581DE
Accessibility & contrast
On white
7.22
#7A2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#7A2FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2FB6
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FB6 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#6F5070
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a2fb6; /* rgb */ color: rgb(122, 47, 182); /* oklch */ color: oklch(48.2% 0.201 305.2);
Tailwind
colors: {
custom: {
50: '#a66fcd',
500: '#7a2fb6',
950: '#000000',
},
}SCSS
$custom: #7a2fb6; $custom-light: #a66fcd; $custom-dark: #000000;
JSON
{
"hex": "#7a2fb6",
"rgb": {
"r": 122,
"g": 47,
"b": 182
},
"hsl": {
"h": 273.333,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.48209,
"c": 0.20112,
"h": 305.2
},
"luminance": 0.09548
}Semantic roles & 50–950 ramp
primary
#7A2FB6
secondary
#9CC779
accent
#E2468B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82