#7C2DBF#7C2DBF
#7C2DBF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.213 H 303.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2DBF |
|---|---|
| RGB | rgb(124, 45, 191) |
| HSL | hsl(272, 62%, 46%) |
| HSV | hsv(272, 76%, 75%) |
| CMYK | cmyk(35.1%, 76.4%, 0%, 25.1%) |
| CIE-LAB | lab(37.70, 59.07, -61.92) |
| CIE-LCH | lch(37.70, 85.58, 313.65°) |
| OKLab | oklab(48.97% 0.1186 -0.1765) |
| OKLCH | oklch(48.97% 0.213 303.9) |
| XYZ | xyz(18.6524, 9.9235, 50.2129) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.54
Blueviolet
#8A2BE2
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.68
Purple Blue
#5D21D0
ΔE00 5.89
Burple
#6832E3
ΔE00 5.99
Bluey Purple
#6241C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2DBF #70BF2D
analogous
#332DBF #7C2DBF #BF2DB9
triadic
#7C2DBF #BF7C2D #2DBF7C
tetradic
#7C2DBF #BF332D #70BF2D #2DB9BF
square
#7C2DBF #BF332D #70BF2D #2DB9BF
split-complementary
#7C2DBF #B9BF2D #2DBF33
monochromatic
#3C165C #5C218D #7C2DBF #9A53D6 #B784E2
Accessibility & contrast
On white
7.04
#7C2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#7C2DBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2DBF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2DBF | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#6F5375
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2dbf; /* rgb */ color: rgb(124, 45, 191); /* oklch */ color: oklch(49.0% 0.213 303.9);
Tailwind
colors: {
custom: {
50: '#a86fd3',
500: '#7c2dbf',
950: '#000000',
},
}SCSS
$custom: #7c2dbf; $custom-light: #a86fd3; $custom-dark: #000000;
JSON
{
"hex": "#7c2dbf",
"rgb": {
"r": 124,
"g": 45,
"b": 191
},
"hsl": {
"h": 272.466,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.48969,
"c": 0.21265,
"h": 303.9
},
"luminance": 0.09923
}Semantic roles & 50–950 ramp
primary
#7C2DBF
secondary
#A1CB7C
accent
#E5438D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83