#7C219E#7C219E
#7C219E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.194 H 314.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7C219E |
|---|---|
| RGB | rgb(124, 33, 158) |
| HSL | hsl(284, 65%, 37%) |
| HSV | hsv(284, 79%, 62%) |
| CMYK | cmyk(21.5%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(33.65, 56.35, -48.82) |
| CIE-LCH | lch(33.65, 74.55, 319.09°) |
| OKLab | oklab(45.33% 0.1359 -0.1379) |
| OKLCH | oklch(45.33% 0.194 314.6) |
| XYZ | xyz(15.0266, 7.8420, 33.0632) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 0.66
Rebeccapurple
#663399
ΔE00 4.92
Darkmagenta
#8B008B
ΔE00 5.37
Purple
#800080
ΔE00 6.20
Barney Purple
#A00498
ΔE00 7.25
Warm Purple
#952E8F
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C219E #439E21
analogous
#3E219E #7C219E #9E2182
triadic
#7C219E #9E7C21 #219E7C
tetradic
#7C219E #9E3E21 #439E21 #21829E
square
#7C219E #9E3E21 #439E21 #21829E
split-complementary
#7C219E #829E21 #219E3E
monochromatic
#2D0C39 #54166B #7C219E #A42CD1 #BA5CDD
Accessibility & contrast
On white
8.18
#7C219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#7C219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C219E
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C219E | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#793E5F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #7c219e; /* rgb */ color: rgb(124, 33, 158); /* oklch */ color: oklch(45.3% 0.194 314.6);
Tailwind
colors: {
custom: {
50: '#a668bb',
500: '#7c219e',
950: '#000000',
},
}SCSS
$custom: #7c219e; $custom-light: #a668bb; $custom-dark: #000000;
JSON
{
"hex": "#7c219e",
"rgb": {
"r": 124,
"g": 33,
"b": 158
},
"hsl": {
"h": 283.68,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.45332,
"c": 0.19365,
"h": 314.6
},
"luminance": 0.07841
}Semantic roles & 50–950 ramp
primary
#7C219E
secondary
#76C159
accent
#E83F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81