#7826C1#7826C1
#7826C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.220 H 302.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7826C1 |
|---|---|
| RGB | rgb(120, 38, 193) |
| HSL | hsl(272, 67%, 45%) |
| HSV | hsv(272, 80%, 76%) |
| CMYK | cmyk(37.8%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(36.42, 61.50, -65.21) |
| CIE-LCH | lch(36.42, 89.64, 313.32°) |
| OKLab | oklab(48.01% 0.118 -0.1862) |
| OKLCH | oklch(48.01% 0.22 302.4) |
| XYZ | xyz(18.0622, 9.2295, 51.2716) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.70
Purple Blue
#5D21D0
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 5.57
Burple
#6832E3
ΔE00 5.70
Purply Blue
#661AEE
ΔE00 6.11
Bluey Purple
#6241C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7826C1 #6FC126
analogous
#2A26C1 #7826C1 #C126BC
triadic
#7826C1 #C17826 #26C178
tetradic
#7826C1 #C12A26 #6FC126 #26BCC1
square
#7826C1 #C12A26 #6FC126 #26BCC1
split-complementary
#7826C1 #BCC126 #26C12A
monochromatic
#38125B #581C8E #7826C1 #9649DB #B47CE5
Accessibility & contrast
On white
7.38
#7826C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7826C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7826C1
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7826C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7826C1 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#685175
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7826c1; /* rgb */ color: rgb(120, 38, 193); /* oklch */ color: oklch(48.0% 0.220 302.4);
Tailwind
colors: {
custom: {
50: '#a66bd5',
500: '#7826c1',
950: '#000000',
},
}SCSS
$custom: #7826c1; $custom-light: #a66bd5; $custom-dark: #000000;
JSON
{
"hex": "#7826c1",
"rgb": {
"r": 120,
"g": 38,
"b": 193
},
"hsl": {
"h": 271.742,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.48009,
"c": 0.22046,
"h": 302.4
},
"luminance": 0.0923
}Semantic roles & 50–950 ramp
primary
#7826C1
secondary
#9FCD75
accent
#EA3E8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83