#7B2ABF#7B2ABF
#7B2ABF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.215 H 303.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2ABF |
|---|---|
| RGB | rgb(123, 42, 191) |
| HSL | hsl(273, 64%, 46%) |
| HSV | hsv(273, 78%, 75%) |
| CMYK | cmyk(35.6%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.17, 60.06, -62.81) |
| CIE-LCH | lch(37.17, 86.90, 313.72°) |
| OKLab | oklab(48.56% 0.1197 -0.1791) |
| OKLCH | oklch(48.56% 0.215 303.8) |
| XYZ | xyz(18.3981, 9.6285, 50.1693) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.51
Blueviolet
#8A2BE2
ΔE00 5.34
Purple Blue
#5D21D0
ΔE00 5.55
Burple
#6832E3
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.01
Darkorchid
#9932CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2ABF #6EBF2A
analogous
#302ABF #7B2ABF #BF2AB8
triadic
#7B2ABF #BF7B2A #2ABF7B
tetradic
#7B2ABF #BF302A #6EBF2A #2AB8BF
square
#7B2ABF #BF302A #6EBF2A #2AB8BF
split-complementary
#7B2ABF #B8BF2A #2ABF30
monochromatic
#3A145B #5B1F8D #7B2ABF #994ED8 #B680E3
Accessibility & contrast
On white
7.18
#7B2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7B2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2ABF
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2ABF | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6D5174
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7b2abf; /* rgb */ color: rgb(123, 42, 191); /* oklch */ color: oklch(48.6% 0.215 303.8);
Tailwind
colors: {
custom: {
50: '#a76dd3',
500: '#7b2abf',
950: '#000000',
},
}SCSS
$custom: #7b2abf; $custom-light: #a76dd3; $custom-dark: #000000;
JSON
{
"hex": "#7b2abf",
"rgb": {
"r": 123,
"g": 42,
"b": 191
},
"hsl": {
"h": 272.617,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.48563,
"c": 0.21542,
"h": 303.8
},
"luminance": 0.09628
}Semantic roles & 50–950 ramp
primary
#7B2ABF
secondary
#9FCC79
accent
#E7418D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83