#7B2CBF#7B2CBF
#7B2CBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.213 H 303.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2CBF |
|---|---|
| RGB | rgb(123, 44, 191) |
| HSL | hsl(272, 63%, 46%) |
| HSV | hsv(272, 77%, 75%) |
| CMYK | cmyk(35.6%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(37.43, 59.30, -62.37) |
| CIE-LCH | lch(37.43, 86.06, 313.55°) |
| OKLab | oklab(48.75% 0.1181 -0.1778) |
| OKLCH | oklch(48.75% 0.213 303.6) |
| XYZ | xyz(18.4708, 9.7739, 50.1936) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.60
Blueviolet
#8A2BE2
ΔE00 5.24
Purple Blue
#5D21D0
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.92
Burple
#6832E3
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2CBF #70BF2C
analogous
#312CBF #7B2CBF #BF2CB9
triadic
#7B2CBF #BF7B2C #2CBF7B
tetradic
#7B2CBF #BF312C #70BF2C #2CB9BF
square
#7B2CBF #BF312C #70BF2C #2CB9BF
split-complementary
#7B2CBF #B9BF2C #2CBF31
monochromatic
#3B155C #5B218D #7B2CBF #9951D7 #B683E2
Accessibility & contrast
On white
7.11
#7B2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#7B2CBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2CBF
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2CBF | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6D5275
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7b2cbf; /* rgb */ color: rgb(123, 44, 191); /* oklch */ color: oklch(48.8% 0.213 303.6);
Tailwind
colors: {
custom: {
50: '#a76ed3',
500: '#7b2cbf',
950: '#000000',
},
}SCSS
$custom: #7b2cbf; $custom-light: #a76ed3; $custom-dark: #000000;
JSON
{
"hex": "#7b2cbf",
"rgb": {
"r": 123,
"g": 44,
"b": 191
},
"hsl": {
"h": 272.245,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.4875,
"c": 0.21345,
"h": 303.6
},
"luminance": 0.09774
}Semantic roles & 50–950 ramp
primary
#7B2CBF
secondary
#A0CC7B
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83