#7B2FC9#7B2FC9
#7B2FC9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.220 H 300.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2FC9 |
|---|---|
| RGB | rgb(123, 47, 201) |
| HSL | hsl(270, 62%, 49%) |
| HSV | hsv(270, 77%, 79%) |
| CMYK | cmyk(38.8%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(38.66, 60.43, -66.22) |
| CIE-LCH | lch(38.66, 89.65, 312.38°) |
| OKLab | oklab(49.86% 0.1131 -0.1892) |
| OKLCH | oklch(49.86% 0.22 300.9) |
| XYZ | xyz(19.7249, 10.4609, 56.2270) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.93
Darkviolet
#9400D3
ΔE00 4.48
Burple
#6832E3
ΔE00 4.58
Bluish Purple
#703BE7
ΔE00 5.15
Bluey Purple
#6241C7
ΔE00 5.22
Purple Blue
#5D21D0
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2FC9 #7DC92F
analogous
#2F30C9 #7B2FC9 #C82FC9
triadic
#7B2FC9 #C97B2F #2FC97B
tetradic
#7B2FC9 #C92F30 #7DC92F #2FC9C8
square
#7B2FC9 #C92F30 #7DC92F #2FC9C8
split-complementary
#7B2FC9 #C9C82F #30C92F
monochromatic
#3E1866 #5D2397 #7B2FC9 #9A5CD9 #B98EE5
Accessibility & contrast
On white
6.79
#7B2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#7B2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B2FC9
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2FC9 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#69587B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7b2fc9; /* rgb */ color: rgb(123, 47, 201); /* oklch */ color: oklch(49.9% 0.220 300.9);
Tailwind
colors: {
custom: {
50: '#a870da',
500: '#7b2fc9',
950: '#000000',
},
}SCSS
$custom: #7b2fc9; $custom-light: #a870da; $custom-dark: #000000;
JSON
{
"hex": "#7b2fc9",
"rgb": {
"r": 123,
"g": 47,
"b": 201
},
"hsl": {
"h": 269.61,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.49859,
"c": 0.22038,
"h": 300.9
},
"luminance": 0.10461
}Semantic roles & 50–950 ramp
primary
#7B2FC9
secondary
#AACF85
accent
#E54395
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83