#7B2FAC#7B2FAC
#7B2FAC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.191 H 308.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2FAC |
|---|---|
| RGB | rgb(123, 47, 172) |
| HSL | hsl(276, 57%, 43%) |
| HSV | hsv(276, 73%, 67%) |
| CMYK | cmyk(28.5%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(36.41, 53.75, -52.79) |
| CIE-LCH | lch(36.41, 75.34, 315.52°) |
| OKLab | oklab(47.57% 0.1192 -0.1497) |
| OKLCH | oklch(47.57% 0.191 308.5) |
| XYZ | xyz(16.6298, 9.2228, 39.9259) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.81
Rebeccapurple
#663399
ΔE00 4.42
Darkviolet
#9400D3
ΔE00 6.33
Darkorchid
#9932CC
ΔE00 6.82
Purply
#983FB2
ΔE00 7.02
Bluey Purple
#6241C7
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2FAC #60AC2F
analogous
#3C2FAC #7B2FAC #AC2F9E
triadic
#7B2FAC #AC7B2F #2FAC7B
tetradic
#7B2FAC #AC3C2F #60AC2F #2F9EAC
square
#7B2FAC #AC3C2F #60AC2F #2F9EAC
split-complementary
#7B2FAC #9EAC2F #2FAC3C
monochromatic
#36154C #59227C #7B2FAC #9A4BCE #B57BDB
Accessibility & contrast
On white
7.38
#7B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#7B2FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2FAC
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2FAC | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#734C6B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7b2fac; /* rgb */ color: rgb(123, 47, 172); /* oklch */ color: oklch(47.6% 0.191 308.5);
Tailwind
colors: {
custom: {
50: '#a66fc5',
500: '#7b2fac',
950: '#000000',
},
}SCSS
$custom: #7b2fac; $custom-light: #a66fc5; $custom-dark: #000000;
JSON
{
"hex": "#7b2fac",
"rgb": {
"r": 123,
"g": 47,
"b": 172
},
"hsl": {
"h": 276.48,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.47573,
"c": 0.19133,
"h": 308.5
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#7B2FAC
secondary
#93C374
accent
#E04783
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82