#7D2ABF#7D2ABF
#7D2ABF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.216 H 304.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2ABF |
|---|---|
| RGB | rgb(125, 42, 191) |
| HSL | hsl(273, 64%, 46%) |
| HSV | hsv(273, 78%, 75%) |
| CMYK | cmyk(34.6%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.44, 60.39, -62.35) |
| CIE-LCH | lch(37.44, 86.80, 314.09°) |
| OKLab | oklab(48.81% 0.1225 -0.1777) |
| OKLCH | oklch(48.81% 0.216 304.6) |
| XYZ | xyz(18.6872, 9.7776, 50.1829) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.74
Purple Blue
#5D21D0
ΔE00 5.88
Purple (survey)
#7E1E9C
ΔE00 5.93
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2ABF #6CBF2A
analogous
#332ABF #7D2ABF #BF2AB6
triadic
#7D2ABF #BF7D2A #2ABF7D
tetradic
#7D2ABF #BF332A #6CBF2A #2AB6BF
square
#7D2ABF #BF332A #6CBF2A #2AB6BF
split-complementary
#7D2ABF #B6BF2A #2ABF33
monochromatic
#3B145B #5C1F8D #7D2ABF #9B4ED8 #B780E3
Accessibility & contrast
On white
7.11
#7D2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7D2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2ABF
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2ABF | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#705174
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7d2abf; /* rgb */ color: rgb(125, 42, 191); /* oklch */ color: oklch(48.8% 0.216 304.6);
Tailwind
colors: {
custom: {
50: '#a96dd3',
500: '#7d2abf',
950: '#000000',
},
}SCSS
$custom: #7d2abf; $custom-light: #a96dd3; $custom-dark: #000000;
JSON
{
"hex": "#7d2abf",
"rgb": {
"r": 125,
"g": 42,
"b": 191
},
"hsl": {
"h": 273.423,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.48812,
"c": 0.21583,
"h": 304.6
},
"luminance": 0.09777
}Semantic roles & 50–950 ramp
primary
#7D2ABF
secondary
#9ECC79
accent
#E7418A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83