#7C36CB#7C36CB
#7C36CB is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.215 H 300.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7C36CB |
|---|---|
| RGB | rgb(124, 54, 203) |
| HSL | hsl(268, 59%, 50%) |
| HSV | hsv(268, 73%, 80%) |
| CMYK | cmyk(38.9%, 73.4%, 0%, 20.4%) |
| CIE-LAB | lab(39.97, 58.14, -65.23) |
| CIE-LCH | lch(39.97, 87.38, 311.71°) |
| OKLab | oklab(50.86% 0.108 -0.1863) |
| OKLCH | oklch(50.86% 0.215 300.1) |
| XYZ | xyz(20.4082, 11.2350, 57.5817) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.52
Bluish Purple
#703BE7
ΔE00 4.46
Burple
#6832E3
ΔE00 4.47
Bluey Purple
#6241C7
ΔE00 4.75
Darkviolet
#9400D3
ΔE00 5.06
Darkorchid
#9932CC
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C36CB #85CB36
analogous
#363ACB #7C36CB #C636CB
triadic
#7C36CB #CB7C36 #36CB7C
tetradic
#7C36CB #CB363A #85CB36 #36CBC6
square
#7C36CB #CB363A #85CB36 #36CBC6
split-complementary
#7C36CB #CBC636 #3ACB36
monochromatic
#411C6B #5E289C #7C36CB #9C67D8 #BB97E4
Accessibility & contrast
On white
6.47
#7C36CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7C36CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C36CB
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C36CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C36CB | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#6A5C7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7c36cb; /* rgb */ color: rgb(124, 54, 203); /* oklch */ color: oklch(50.9% 0.215 300.1);
Tailwind
colors: {
custom: {
50: '#a974dc',
500: '#7c36cb',
950: '#000000',
},
}SCSS
$custom: #7c36cb; $custom-light: #a974dc; $custom-dark: #000000;
JSON
{
"hex": "#7c36cb",
"rgb": {
"r": 124,
"g": 54,
"b": 203
},
"hsl": {
"h": 268.188,
"s": 58.893,
"l": 50.392
},
"oklch": {
"l": 0.50861,
"c": 0.21529,
"h": 300.1
},
"luminance": 0.11235
}Semantic roles & 50–950 ramp
primary
#7C36CB
secondary
#B0D08D
accent
#E24699
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83