#7C2CB9#7C2CB9
#7C2CB9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 305.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2CB9 |
|---|---|
| RGB | rgb(124, 44, 185) |
| HSL | hsl(274, 62%, 45%) |
| HSV | hsv(274, 76%, 73%) |
| CMYK | cmyk(33%, 76.2%, 0%, 27.5%) |
| CIE-LAB | lab(37.10, 58.10, -59.39) |
| CIE-LCH | lch(37.10, 83.08, 314.37°) |
| OKLab | oklab(48.39% 0.1209 -0.169) |
| OKLCH | oklch(48.39% 0.208 305.6) |
| XYZ | xyz(17.9679, 9.5894, 46.7939) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.88
Purple (survey)
#7E1E9C
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 5.95
Darkorchid
#9932CC
ΔE00 6.00
Purple Blue
#5D21D0
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2CB9 #69B92C
analogous
#362CB9 #7C2CB9 #B92CAF
triadic
#7C2CB9 #B97C2C #2CB97C
tetradic
#7C2CB9 #B9362C #69B92C #2CAFB9
square
#7C2CB9 #B9362C #69B92C #2CAFB9
split-complementary
#7C2CB9 #AFB92C #2CB936
monochromatic
#3A1456 #5B2088 #7C2CB9 #9A4DD5 #B67FE1
Accessibility & contrast
On white
7.20
#7C2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#7C2CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2CB9
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2CB9 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#715071
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7c2cb9; /* rgb */ color: rgb(124, 44, 185); /* oklch */ color: oklch(48.4% 0.208 305.6);
Tailwind
colors: {
custom: {
50: '#a76ecf',
500: '#7c2cb9',
950: '#000000',
},
}SCSS
$custom: #7c2cb9; $custom-light: #a76ecf; $custom-dark: #000000;
JSON
{
"hex": "#7c2cb9",
"rgb": {
"r": 124,
"g": 44,
"b": 185
},
"hsl": {
"h": 274.043,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.48393,
"c": 0.20779,
"h": 305.6
},
"luminance": 0.09589
}Semantic roles & 50–950 ramp
primary
#7C2CB9
secondary
#9BC978
accent
#E54389
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82