#7B246F#7B246F
#7B246F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 333.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7B246F |
|---|---|
| RGB | rgb(123, 36, 111) |
| HSL | hsl(308, 55%, 31%) |
| HSV | hsv(308, 71%, 48%) |
| CMYK | cmyk(0%, 70.7%, 9.8%, 51.8%) |
| CIE-LAB | lab(30.93, 46.22, -23.96) |
| CIE-LCH | lch(30.93, 52.06, 332.60°) |
| OKLab | oklab(42.41% 0.1339 -0.0655) |
| OKLCH | oklch(42.41% 0.149 333.9) |
| XYZ | xyz(11.6686, 6.6214, 15.6993) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.04
Purple
#800080
ΔE00 5.17
Rich Purple
#720058
ΔE00 5.65
Grape
#6C3461
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.17
Bruise
#7E4071
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B246F #247B30
analogous
#5B247B #7B246F #7B2443
triadic
#7B246F #6F7B24 #246F7B
tetradic
#7B246F #7B5B24 #247B30 #24437B
square
#7B246F #7B5B24 #247B30 #24437B
split-complementary
#7B246F #437B24 #247B5B
monochromatic
#1C081A #4C1644 #7B246F #AA329A #CB4EBA
Accessibility & contrast
On white
9.04
#7B246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7B246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B246F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B246F | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#812B46
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7b246f; /* rgb */ color: rgb(123, 36, 111); /* oklch */ color: oklch(42.4% 0.149 333.9);
Tailwind
colors: {
custom: {
50: '#a46798',
500: '#7b246f',
950: '#000000',
},
}SCSS
$custom: #7b246f; $custom-light: #a46798; $custom-dark: #000000;
JSON
{
"hex": "#7b246f",
"rgb": {
"r": 123,
"g": 36,
"b": 111
},
"hsl": {
"h": 308.276,
"s": 54.717,
"l": 31.176
},
"oklch": {
"l": 0.42413,
"c": 0.14907,
"h": 333.9
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#7B246F
secondary
#4DAD5B
accent
#DE5E4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E