#7C2ABF#7C2ABF
#7C2ABF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.216 H 304.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2ABF |
|---|---|
| RGB | rgb(124, 42, 191) |
| HSL | hsl(273, 64%, 46%) |
| HSV | hsv(273, 78%, 75%) |
| CMYK | cmyk(35.1%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.30, 60.23, -62.58) |
| CIE-LCH | lch(37.30, 86.85, 313.90°) |
| OKLab | oklab(48.69% 0.1211 -0.1784) |
| OKLCH | oklch(48.69% 0.216 304.2) |
| XYZ | xyz(18.5419, 9.7027, 50.1761) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.40
Blueviolet
#8A2BE2
ΔE00 5.27
Purple Blue
#5D21D0
ΔE00 5.71
Darkorchid
#9932CC
ΔE00 5.90
Purple (survey)
#7E1E9C
ΔE00 5.97
Burple
#6832E3
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2ABF #6DBF2A
analogous
#312ABF #7C2ABF #BF2AB7
triadic
#7C2ABF #BF7C2A #2ABF7C
tetradic
#7C2ABF #BF312A #6DBF2A #2AB7BF
square
#7C2ABF #BF312A #6DBF2A #2AB7BF
split-complementary
#7C2ABF #B7BF2A #2ABF31
monochromatic
#3B145B #5B1F8D #7C2ABF #9A4ED8 #B780E3
Accessibility & contrast
On white
7.14
#7C2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#7C2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2ABF
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2ABF | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6F5174
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c2abf; /* rgb */ color: rgb(124, 42, 191); /* oklch */ color: oklch(48.7% 0.216 304.2);
Tailwind
colors: {
custom: {
50: '#a86dd3',
500: '#7c2abf',
950: '#000000',
},
}SCSS
$custom: #7c2abf; $custom-light: #a86dd3; $custom-dark: #000000;
JSON
{
"hex": "#7c2abf",
"rgb": {
"r": 124,
"g": 42,
"b": 191
},
"hsl": {
"h": 273.02,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.48688,
"c": 0.21562,
"h": 304.2
},
"luminance": 0.09703
}Semantic roles & 50–950 ramp
primary
#7C2ABF
secondary
#9ECC79
accent
#E7418C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83