#7936CB#7936CB
#7936CB is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.215 H 298.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7936CB |
|---|---|
| RGB | rgb(121, 54, 203) |
| HSL | hsl(267, 59%, 50%) |
| HSV | hsv(267, 73%, 80%) |
| CMYK | cmyk(40.4%, 73.4%, 0%, 20.4%) |
| CIE-LAB | lab(39.61, 57.62, -65.85) |
| CIE-LCH | lch(39.61, 87.50, 311.19°) |
| OKLab | oklab(50.52% 0.1037 -0.1882) |
| OKLCH | oklch(50.52% 0.215 298.9) |
| XYZ | xyz(19.9811, 11.0148, 57.5617) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.80
Burple
#6832E3
ΔE00 4.11
Bluish Purple
#703BE7
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 4.32
Purpley Blue
#5F34E7
ΔE00 5.22
Darkviolet
#9400D3
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7936CB #88CB36
analogous
#363DCB #7936CB #C336CB
triadic
#7936CB #CB7936 #36CB79
tetradic
#7936CB #CB363D #88CB36 #36CBC3
square
#7936CB #CB363D #88CB36 #36CBC3
split-complementary
#7936CB #CBC336 #3DCB36
monochromatic
#3F1C6B #5C289C #7936CB #9967D8 #BA97E4
Accessibility & contrast
On white
6.56
#7936CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7936CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7936CB
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7936CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7936CB | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#655C7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7936cb; /* rgb */ color: rgb(121, 54, 203); /* oklch */ color: oklch(50.5% 0.215 298.9);
Tailwind
colors: {
custom: {
50: '#a773dc',
500: '#7936cb',
950: '#000000',
},
}SCSS
$custom: #7936cb; $custom-light: #a773dc; $custom-dark: #000000;
JSON
{
"hex": "#7936cb",
"rgb": {
"r": 121,
"g": 54,
"b": 203
},
"hsl": {
"h": 266.98,
"s": 58.893,
"l": 50.392
},
"oklch": {
"l": 0.50521,
"c": 0.21486,
"h": 298.9
},
"luminance": 0.11015
}Semantic roles & 50–950 ramp
primary
#7936CB
secondary
#B2D08D
accent
#E2469C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83