#7B2FC0#7B2FC0
#7B2FC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.211 H 303.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2FC0 |
|---|---|
| RGB | rgb(123, 47, 192) |
| HSL | hsl(271, 61%, 47%) |
| HSV | hsv(271, 76%, 75%) |
| CMYK | cmyk(35.9%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(37.93, 58.33, -62.15) |
| CIE-LCH | lch(37.93, 85.23, 313.18°) |
| OKLab | oklab(49.12% 0.1152 -0.1772) |
| OKLCH | oklch(49.12% 0.211 303) |
| XYZ | xyz(18.6971, 10.0497, 50.8137) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.69
Burple
#6832E3
ΔE00 5.71
Purple Blue
#5D21D0
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2FC0 #74C02F
analogous
#332FC0 #7B2FC0 #C02FBD
triadic
#7B2FC0 #C07B2F #2FC07B
tetradic
#7B2FC0 #C0332F #74C02F #2FBDC0
square
#7B2FC0 #C0332F #74C02F #2FBDC0
split-complementary
#7B2FC0 #BDC02F #2FC033
monochromatic
#3C175E #5C238F #7B2FC0 #9956D6 #B788E2
Accessibility & contrast
On white
6.98
#7B2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#7B2FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B2FC0
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2FC0 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6D5476
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7b2fc0; /* rgb */ color: rgb(123, 47, 192); /* oklch */ color: oklch(49.1% 0.211 303.0);
Tailwind
colors: {
custom: {
50: '#a76fd4',
500: '#7b2fc0',
950: '#000000',
},
}SCSS
$custom: #7b2fc0; $custom-light: #a76fd4; $custom-dark: #000000;
JSON
{
"hex": "#7b2fc0",
"rgb": {
"r": 123,
"g": 47,
"b": 192
},
"hsl": {
"h": 271.448,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.49124,
"c": 0.21137,
"h": 303
},
"luminance": 0.1005
}Semantic roles & 50–950 ramp
primary
#7B2FC0
secondary
#A4CB7F
accent
#E44490
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83