#7E37B7#7E37B7
#7E37B7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.194 H 305.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E37B7 |
|---|---|
| RGB | rgb(126, 55, 183) |
| HSL | hsl(273, 54%, 47%) |
| HSV | hsv(273, 70%, 72%) |
| CMYK | cmyk(31.1%, 69.9%, 0%, 28.2%) |
| CIE-LAB | lab(38.88, 53.31, -55.30) |
| CIE-LCH | lch(38.88, 76.82, 313.95°) |
| OKLab | oklab(49.67% 0.1134 -0.157) |
| OKLCH | oklch(49.67% 0.194 305.8) |
| XYZ | xyz(18.5157, 10.5870, 45.8586) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.20
Darkviolet
#9400D3
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 5.92
Blueviolet
#8A2BE2
ΔE00 5.95
Purply
#983FB2
ΔE00 6.07
Purple (survey)
#7E1E9C
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E37B7 #70B737
analogous
#3E37B7 #7E37B7 #B737B0
triadic
#7E37B7 #B77E37 #37B77E
tetradic
#7E37B7 #B73E37 #70B737 #37B0B7
square
#7E37B7 #B73E37 #70B737 #37B0B7
split-complementary
#7E37B7 #B0B737 #37B73E
monochromatic
#3D1B59 #5E2988 #7E37B7 #9C5DCE #B98CDC
Accessibility & contrast
On white
6.74
#7E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7E37B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E37B7
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E37B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E37B7 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#055CB4
Tritanopia (blue-blind)
#745473
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7e37b7; /* rgb */ color: rgb(126, 55, 183); /* oklch */ color: oklch(49.7% 0.194 305.8);
Tailwind
colors: {
custom: {
50: '#a874cd',
500: '#7e37b7',
950: '#000000',
},
}SCSS
$custom: #7e37b7; $custom-light: #a874cd; $custom-dark: #000000;
JSON
{
"hex": "#7e37b7",
"rgb": {
"r": 126,
"g": 55,
"b": 183
},
"hsl": {
"h": 273.281,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.49665,
"c": 0.19366,
"h": 305.8
},
"luminance": 0.10587
}Semantic roles & 50–950 ramp
primary
#7E37B7
secondary
#A1C783
accent
#DD4B8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82