#7A2EBF#7A2EBF
#7A2EBF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.211 H 303.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2EBF |
|---|---|
| RGB | rgb(122, 46, 191) |
| HSL | hsl(271, 61%, 46%) |
| HSV | hsv(271, 76%, 75%) |
| CMYK | cmyk(36.1%, 75.9%, 0%, 25.1%) |
| CIE-LAB | lab(37.58, 58.33, -62.14) |
| CIE-LCH | lch(37.58, 85.23, 313.19°) |
| OKLab | oklab(48.82% 0.1149 -0.1772) |
| OKLCH | oklch(48.82% 0.211 303) |
| XYZ | xyz(18.4048, 9.8531, 50.2123) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.21
Purple Blue
#5D21D0
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.71
Burple
#6832E3
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2EBF #73BF2E
analogous
#322EBF #7A2EBF #BF2EBC
triadic
#7A2EBF #BF7A2E #2EBF7A
tetradic
#7A2EBF #BF322E #73BF2E #2EBCBF
square
#7A2EBF #BF322E #73BF2E #2EBCBF
split-complementary
#7A2EBF #BCBF2E #2EBF32
monochromatic
#3B165C #5A228E #7A2EBF #9854D6 #B686E2
Accessibility & contrast
On white
7.07
#7A2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#7A2EBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2EBF
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2EBF | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6C5375
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7a2ebf; /* rgb */ color: rgb(122, 46, 191); /* oklch */ color: oklch(48.8% 0.211 303.0);
Tailwind
colors: {
custom: {
50: '#a76fd3',
500: '#7a2ebf',
950: '#000000',
},
}SCSS
$custom: #7a2ebf; $custom-light: #a76fd3; $custom-dark: #000000;
JSON
{
"hex": "#7a2ebf",
"rgb": {
"r": 122,
"g": 46,
"b": 191
},
"hsl": {
"h": 271.448,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.48822,
"c": 0.21122,
"h": 303
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#7A2EBF
secondary
#A3CB7E
accent
#E44490
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83