#7E2BB3#7E2BB3
#7E2BB3 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.204 H 308.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2BB3 |
|---|---|
| RGB | rgb(126, 43, 179) |
| HSL | hsl(277, 61%, 44%) |
| HSV | hsv(277, 76%, 70%) |
| CMYK | cmyk(29.6%, 76%, 0%, 29.8%) |
| CIE-LAB | lab(36.78, 57.52, -56.34) |
| CIE-LCH | lch(36.78, 80.51, 315.59°) |
| OKLab | oklab(48.09% 0.1258 -0.16) |
| OKLCH | oklch(48.09% 0.204 308.2) |
| XYZ | xyz(17.6030, 9.4183, 43.5297) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.26
Darkviolet
#9400D3
ΔE00 5.20
Rebeccapurple
#663399
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 6.15
Blueviolet
#8A2BE2
ΔE00 6.74
Purply
#983FB2
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2BB3 #60B32B
analogous
#3A2BB3 #7E2BB3 #B32BA4
triadic
#7E2BB3 #B37E2B #2BB37E
tetradic
#7E2BB3 #B33A2B #60B32B #2BA4B3
square
#7E2BB3 #B33A2B #60B32B #2BA4B3
split-complementary
#7E2BB3 #A4B32B #2BB33A
monochromatic
#391350 #5B1F82 #7E2BB3 #9D48D3 #B779DF
Accessibility & contrast
On white
7.28
#7E2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#7E2BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2BB3
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2BB3 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#754C6E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7e2bb3; /* rgb */ color: rgb(126, 43, 179); /* oklch */ color: oklch(48.1% 0.204 308.2);
Tailwind
colors: {
custom: {
50: '#a86dcb',
500: '#7e2bb3',
950: '#000000',
},
}SCSS
$custom: #7e2bb3; $custom-light: #a86dcb; $custom-dark: #000000;
JSON
{
"hex": "#7e2bb3",
"rgb": {
"r": 126,
"g": 43,
"b": 179
},
"hsl": {
"h": 276.618,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.48085,
"c": 0.20352,
"h": 308.2
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#7E2BB3
secondary
#94C773
accent
#E44382
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82