#7B2FCA#7B2FCA
#7B2FCA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.221 H 300.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2FCA |
|---|---|
| RGB | rgb(123, 47, 202) |
| HSL | hsl(269, 62%, 49%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.1%, 76.7%, 0%, 20.8%) |
| CIE-LAB | lab(38.74, 60.67, -66.67) |
| CIE-LCH | lch(38.74, 90.14, 312.30°) |
| OKLab | oklab(49.94% 0.1128 -0.1905) |
| OKLCH | oklch(49.94% 0.221 300.6) |
| XYZ | xyz(19.8429, 10.5081, 56.8485) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.82
Burple
#6832E3
ΔE00 4.46
Darkviolet
#9400D3
ΔE00 4.47
Bluish Purple
#703BE7
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.19
Purple Blue
#5D21D0
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2FCA #7ECA2F
analogous
#2F31CA #7B2FCA #C92FCA
triadic
#7B2FCA #CA7B2F #2FCA7B
tetradic
#7B2FCA #CA2F31 #7ECA2F #2FCAC9
square
#7B2FCA #CA2F31 #7ECA2F #2FCAC9
split-complementary
#7B2FCA #CAC92F #31CA2F
monochromatic
#3F1867 #5D2398 #7B2FCA #9A5DD9 #B98FE5
Accessibility & contrast
On white
6.77
#7B2FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#7B2FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B2FCA
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2FCA | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#69587C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7b2fca; /* rgb */ color: rgb(123, 47, 202); /* oklch */ color: oklch(49.9% 0.221 300.6);
Tailwind
colors: {
custom: {
50: '#a870db',
500: '#7b2fca',
950: '#000000',
},
}SCSS
$custom: #7b2fca; $custom-light: #a870db; $custom-dark: #000000;
JSON
{
"hex": "#7b2fca",
"rgb": {
"r": 123,
"g": 47,
"b": 202
},
"hsl": {
"h": 269.419,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.49941,
"c": 0.22137,
"h": 300.6
},
"luminance": 0.10508
}Semantic roles & 50–950 ramp
primary
#7B2FCA
secondary
#ABCF86
accent
#E54295
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83