#7D3EB9#7D3EB9
#7D3EB9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.187 H 303.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7D3EB9 |
|---|---|
| RGB | rgb(125, 62, 185) |
| HSL | hsl(271, 50%, 48%) |
| HSV | hsv(271, 66%, 73%) |
| CMYK | cmyk(32.4%, 66.5%, 0%, 27.5%) |
| CIE-LAB | lab(40.09, 50.23, -54.52) |
| CIE-LCH | lch(40.09, 74.13, 312.66°) |
| OKLab | oklab(50.55% 0.1041 -0.1548) |
| OKLCH | oklch(50.55% 0.187 303.9) |
| XYZ | xyz(18.9350, 11.3081, 47.0747) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 5.63
Purply
#983FB2
ΔE00 5.94
Blueviolet
#8A2BE2
ΔE00 5.95
Rebeccapurple
#663399
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D3EB9 #7AB93E
analogous
#3F3EB9 #7D3EB9 #B93EB7
triadic
#7D3EB9 #B97D3E #3EB97D
tetradic
#7D3EB9 #B93F3E #7AB93E #3EB7B9
square
#7D3EB9 #B93F3E #7AB93E #3EB7B9
split-complementary
#7D3EB9 #B7B93E #3EB93F
monochromatic
#3F1F5D #5E2F8B #7D3EB9 #9B68CC #BA96DC
Accessibility & contrast
On white
6.44
#7D3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7D3EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D3EB9
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D3EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D3EB9 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#125EB6
Tritanopia (blue-blind)
#725976
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7d3eb9; /* rgb */ color: rgb(125, 62, 185); /* oklch */ color: oklch(50.6% 0.187 303.9);
Tailwind
colors: {
custom: {
50: '#a777cf',
500: '#7d3eb9',
950: '#000000',
},
}SCSS
$custom: #7d3eb9; $custom-light: #a777cf; $custom-dark: #000000;
JSON
{
"hex": "#7d3eb9",
"rgb": {
"r": 125,
"g": 62,
"b": 185
},
"hsl": {
"h": 270.732,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.50554,
"c": 0.18655,
"h": 303.9
},
"luminance": 0.11308
}Semantic roles & 50–950 ramp
primary
#7D3EB9
secondary
#A9C78C
accent
#D94E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82