#7C2CBD#7C2CBD
#7C2CBD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.212 H 304.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CBD |
|---|---|
| RGB | rgb(124, 44, 189) |
| HSL | hsl(273, 62%, 46%) |
| HSV | hsv(273, 77%, 74%) |
| CMYK | cmyk(34.4%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(37.41, 59.01, -61.23) |
| CIE-LCH | lch(37.41, 85.04, 313.94°) |
| OKLab | oklab(48.71% 0.1199 -0.1744) |
| OKLCH | oklch(48.71% 0.212 304.5) |
| XYZ | xyz(18.3961, 9.7607, 49.0491) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.60
Blueviolet
#8A2BE2
ΔE00 5.43
Purple (survey)
#7E1E9C
ΔE00 5.81
Darkorchid
#9932CC
ΔE00 5.82
Purple Blue
#5D21D0
ΔE00 5.97
Rebeccapurple
#663399
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CBD #6DBD2C
analogous
#332CBD #7C2CBD #BD2CB6
triadic
#7C2CBD #BD7C2C #2CBD7C
tetradic
#7C2CBD #BD332C #6DBD2C #2CB6BD
square
#7C2CBD #BD332C #6DBD2C #2CB6BD
split-complementary
#7C2CBD #B6BD2C #2CBD33
monochromatic
#3B155A #5B208B #7C2CBD #9A50D6 #B782E2
Accessibility & contrast
On white
7.11
#7C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#7C2CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CBD
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CBD | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6F5173
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c2cbd; /* rgb */ color: rgb(124, 44, 189); /* oklch */ color: oklch(48.7% 0.212 304.5);
Tailwind
colors: {
custom: {
50: '#a86ed2',
500: '#7c2cbd',
950: '#000000',
},
}SCSS
$custom: #7c2cbd; $custom-light: #a86ed2; $custom-dark: #000000;
JSON
{
"hex": "#7c2cbd",
"rgb": {
"r": 124,
"g": 44,
"b": 189
},
"hsl": {
"h": 273.103,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.48712,
"c": 0.2117,
"h": 304.5
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#7C2CBD
secondary
#9ECB7A
accent
#E5428B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83