#7C38BB#7C38BB
#7C38BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.196 H 303.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7C38BB |
|---|---|
| RGB | rgb(124, 56, 187) |
| HSL | hsl(271, 54%, 48%) |
| HSV | hsv(271, 70%, 73%) |
| CMYK | cmyk(33.7%, 70.1%, 0%, 26.7%) |
| CIE-LAB | lab(39.07, 53.39, -57.35) |
| CIE-LCH | lch(39.07, 78.36, 312.95°) |
| OKLab | oklab(49.84% 0.109 -0.1631) |
| OKLCH | oklch(49.84% 0.196 303.7) |
| XYZ | xyz(18.6939, 10.7013, 48.0848) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.28
Blueviolet
#8A2BE2
ΔE00 5.47
Bluey Purple
#6241C7
ΔE00 5.49
Darkviolet
#9400D3
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.20
Burple
#6832E3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C38BB #77BB38
analogous
#3B38BB #7C38BB #BB38B8
triadic
#7C38BB #BB7C38 #38BB7C
tetradic
#7C38BB #BB3B38 #77BB38 #38B8BB
square
#7C38BB #BB3B38 #77BB38 #38B8BB
split-complementary
#7C38BB #B8BB38 #38BB3B
monochromatic
#3E1C5D #5D2A8C #7C38BB #9A61D0 #B890DE
Accessibility & contrast
On white
6.69
#7C38BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7C38BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C38BB
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C38BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C38BB | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#705775
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7c38bb; /* rgb */ color: rgb(124, 56, 187); /* oklch */ color: oklch(49.8% 0.196 303.7);
Tailwind
colors: {
custom: {
50: '#a774d0',
500: '#7c38bb',
950: '#000000',
},
}SCSS
$custom: #7c38bb; $custom-light: #a774d0; $custom-dark: #000000;
JSON
{
"hex": "#7c38bb",
"rgb": {
"r": 124,
"g": 56,
"b": 187
},
"hsl": {
"h": 271.145,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.49841,
"c": 0.19618,
"h": 303.7
},
"luminance": 0.10701
}Semantic roles & 50–950 ramp
primary
#7C38BB
secondary
#A6C886
accent
#DD4B91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82