#7B3CCA#7B3CCA
#7B3CCA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.207 H 299.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3CCA |
|---|---|
| RGB | rgb(123, 60, 202) |
| HSL | hsl(267, 57%, 51%) |
| HSV | hsv(267, 70%, 79%) |
| CMYK | cmyk(39.1%, 70.3%, 0%, 20.8%) |
| CIE-LAB | lab(40.75, 54.98, -63.40) |
| CIE-LCH | lch(40.75, 83.91, 310.93°) |
| OKLab | oklab(51.36% 0.1011 -0.1809) |
| OKLCH | oklch(51.36% 0.207 299.2) |
| XYZ | xyz(20.4422, 11.7067, 57.0483) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.96
Bluish Purple
#703BE7
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.32
Burple
#6832E3
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 5.25
Purpley Blue
#5F34E7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3CCA #8BCA3C
analogous
#3C44CA #7B3CCA #C23CCA
triadic
#7B3CCA #CA7B3C #3CCA7B
tetradic
#7B3CCA #CA3C44 #8BCA3C #3CCAC2
square
#7B3CCA #CA3C44 #8BCA3C #3CCAC2
split-complementary
#7B3CCA #CAC23C #44CA3C
monochromatic
#411E6E #5E2B9E #7B3CCA #9C6CD7 #BC9CE4
Accessibility & contrast
On white
6.28
#7B3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7B3CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3CCA
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3CCA | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#685F7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3cca; /* rgb */ color: rgb(123, 60, 202); /* oklch */ color: oklch(51.4% 0.207 299.2);
Tailwind
colors: {
custom: {
50: '#a777db',
500: '#7b3cca',
950: '#000000',
},
}SCSS
$custom: #7b3cca; $custom-light: #a777db; $custom-dark: #000000;
JSON
{
"hex": "#7b3cca",
"rgb": {
"r": 123,
"g": 60,
"b": 202
},
"hsl": {
"h": 266.62,
"s": 57.258,
"l": 51.373
},
"oklch": {
"l": 0.51358,
"c": 0.20726,
"h": 299.2
},
"luminance": 0.11707
}Semantic roles & 50–950 ramp
primary
#7B3CCA
secondary
#B4D092
accent
#E1479D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83