#7026C7#7026C7
#7026C7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.225 H 297.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7026C7 |
|---|---|
| RGB | rgb(112, 38, 199) |
| HSL | hsl(268, 68%, 46%) |
| HSV | hsv(268, 81%, 78%) |
| CMYK | cmyk(43.7%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(35.90, 61.74, -69.63) |
| CIE-LCH | lch(35.90, 93.06, 311.56°) |
| OKLab | oklab(47.58% 0.1044 -0.1995) |
| OKLCH | oklch(47.58% 0.225 297.6) |
| XYZ | xyz(17.6813, 8.9542, 54.8185) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.16
Burple
#6832E3
ΔE00 4.57
Purply Blue
#661AEE
ΔE00 4.84
Blue Violet
#5D06E9
ΔE00 5.06
Blurple
#5539CC
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7026C7 #7DC726
analogous
#262CC7 #7026C7 #C126C7
triadic
#7026C7 #C77026 #26C770
tetradic
#7026C7 #C7262C #7DC726 #26C7C1
square
#7026C7 #C7262C #7DC726 #26C7C1
split-complementary
#7026C7 #C7C126 #2CC726
monochromatic
#361260 #531C94 #7026C7 #8F4DDD #B081E7
Accessibility & contrast
On white
7.52
#7026C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#7026C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7026C7
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7026C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7026C7 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#595478
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7026c7; /* rgb */ color: rgb(112, 38, 199); /* oklch */ color: oklch(47.6% 0.225 297.6);
Tailwind
colors: {
custom: {
50: '#a16ad9',
500: '#7026c7',
950: '#000000',
},
}SCSS
$custom: #7026c7; $custom-light: #a16ad9; $custom-dark: #000000;
JSON
{
"hex": "#7026c7",
"rgb": {
"r": 112,
"g": 38,
"b": 199
},
"hsl": {
"h": 267.578,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.47577,
"c": 0.22514,
"h": 297.6
},
"luminance": 0.08954
}Semantic roles & 50–950 ramp
primary
#7026C7
secondary
#A8CF79
accent
#EB3D9B
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83