#7B3CCC#7B3CCC
#7B3CCC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.209 H 298.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3CCC |
|---|---|
| RGB | rgb(123, 60, 204) |
| HSL | hsl(266, 59%, 52%) |
| HSV | hsv(266, 71%, 80%) |
| CMYK | cmyk(39.7%, 70.6%, 0%, 20%) |
| CIE-LAB | lab(40.90, 55.47, -64.31) |
| CIE-LCH | lch(40.90, 84.93, 310.78°) |
| OKLab | oklab(51.52% 0.1007 -0.1836) |
| OKLCH | oklch(51.52% 0.209 298.7) |
| XYZ | xyz(20.6806, 11.8020, 58.3035) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.78
Bluish Purple
#703BE7
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.30
Burple
#6832E3
ΔE00 4.54
Darkorchid
#9932CC
ΔE00 5.28
Purpley Blue
#5F34E7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3CCC #8DCC3C
analogous
#3C45CC #7B3CCC #C33CCC
triadic
#7B3CCC #CC7B3C #3CCC7B
tetradic
#7B3CCC #CC3C45 #8DCC3C #3CCCC3
square
#7B3CCC #CC3C45 #8DCC3C #3CCCC3
split-complementary
#7B3CCC #CCC33C #45CC3C
monochromatic
#421D70 #5E2AA1 #7B3CCC #9C6DD9 #BD9DE5
Accessibility & contrast
On white
6.25
#7B3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7B3CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3CCC
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3CCC | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#685F80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3ccc; /* rgb */ color: rgb(123, 60, 204); /* oklch */ color: oklch(51.5% 0.209 298.7);
Tailwind
colors: {
custom: {
50: '#a877dd',
500: '#7b3ccc',
950: '#000000',
},
}SCSS
$custom: #7b3ccc; $custom-light: #a877dd; $custom-dark: #000000;
JSON
{
"hex": "#7b3ccc",
"rgb": {
"r": 123,
"g": 60,
"b": 204
},
"hsl": {
"h": 266.25,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.51515,
"c": 0.20943,
"h": 298.7
},
"luminance": 0.11802
}Semantic roles & 50–950 ramp
primary
#7B3CCC
secondary
#B6D192
accent
#E2469E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83