#7B3FCB#7B3FCB
#7B3FCB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.205 H 298.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3FCB |
|---|---|
| RGB | rgb(123, 63, 203) |
| HSL | hsl(266, 57%, 52%) |
| HSV | hsv(266, 69%, 80%) |
| CMYK | cmyk(39.4%, 69%, 0%, 20.4%) |
| CIE-LAB | lab(41.34, 53.78, -63.01) |
| CIE-LCH | lch(41.34, 82.84, 310.48°) |
| OKLab | oklab(51.8% 0.0979 -0.1798) |
| OKLCH | oklch(51.8% 0.205 298.6) |
| XYZ | xyz(20.7226, 12.0775, 57.7277) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.13
Bluish Purple
#703BE7
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 4.26
Burple
#6832E3
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 5.36
Purpley Blue
#5F34E7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3FCB #8FCB3F
analogous
#3F49CB #7B3FCB #C13FCB
triadic
#7B3FCB #CB7B3F #3FCB7B
tetradic
#7B3FCB #CB3F49 #8FCB3F #3FCBC1
square
#7B3FCB #CB3F49 #8FCB3F #3FCBC1
split-complementary
#7B3FCB #CBC13F #49CB3F
monochromatic
#421F71 #5E2CA1 #7B3FCB #9C6FD8 #BD9FE5
Accessibility & contrast
On white
6.15
#7B3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7B3FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3FCB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3FCB | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#686180
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7b3fcb; /* rgb */ color: rgb(123, 63, 203); /* oklch */ color: oklch(51.8% 0.205 298.6);
Tailwind
colors: {
custom: {
50: '#a778dc',
500: '#7b3fcb',
950: '#000000',
},
}SCSS
$custom: #7b3fcb; $custom-light: #a778dc; $custom-dark: #000000;
JSON
{
"hex": "#7b3fcb",
"rgb": {
"r": 123,
"g": 63,
"b": 203
},
"hsl": {
"h": 265.714,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.51804,
"c": 0.20477,
"h": 298.6
},
"luminance": 0.12078
}Semantic roles & 50–950 ramp
primary
#7B3FCB
secondary
#B7D194
accent
#E1479F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83