#7C219F#7C219F
#7C219F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 314.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7C219F |
|---|---|
| RGB | rgb(124, 33, 159) |
| HSL | hsl(283, 66%, 38%) |
| HSV | hsv(283, 79%, 62%) |
| CMYK | cmyk(22%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(33.72, 56.55, -49.31) |
| CIE-LCH | lch(33.72, 75.03, 318.91°) |
| OKLab | oklab(45.41% 0.1358 -0.1393) |
| OKLCH | oklch(45.41% 0.195 314.3) |
| XYZ | xyz(15.1130, 7.8765, 33.5184) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 0.79
Rebeccapurple
#663399
ΔE00 4.89
Darkmagenta
#8B008B
ΔE00 5.51
Purple
#800080
ΔE00 6.35
Barney Purple
#A00498
ΔE00 7.33
Darkviolet
#9400D3
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C219F #449F21
analogous
#3D219F #7C219F #9F2183
triadic
#7C219F #9F7C21 #219F7C
tetradic
#7C219F #9F3D21 #449F21 #21839F
square
#7C219F #9F3D21 #449F21 #21839F
split-complementary
#7C219F #839F21 #219F3D
monochromatic
#2D0C3A #54166C #7C219F #A42CD2 #BA5DDD
Accessibility & contrast
On white
8.15
#7C219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#7C219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C219F
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C219F | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#793F60
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #7c219f; /* rgb */ color: rgb(124, 33, 159); /* oklch */ color: oklch(45.4% 0.195 314.3);
Tailwind
colors: {
custom: {
50: '#a668bc',
500: '#7c219f',
950: '#000000',
},
}SCSS
$custom: #7c219f; $custom-light: #a668bc; $custom-dark: #000000;
JSON
{
"hex": "#7c219f",
"rgb": {
"r": 124,
"g": 33,
"b": 159
},
"hsl": {
"h": 283.333,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.45407,
"c": 0.19453,
"h": 314.3
},
"luminance": 0.07876
}Semantic roles & 50–950 ramp
primary
#7C219F
secondary
#77C25A
accent
#E93F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81