#7D26C1#7D26C1
#7D26C1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.221 H 304.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7D26C1 |
|---|---|
| RGB | rgb(125, 38, 193) |
| HSL | hsl(274, 67%, 45%) |
| HSV | hsv(274, 80%, 76%) |
| CMYK | cmyk(35.2%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(37.11, 62.27, -64.07) |
| CIE-LCH | lch(37.11, 89.34, 314.19°) |
| OKLab | oklab(48.63% 0.1251 -0.1827) |
| OKLCH | oklch(48.63% 0.221 304.4) |
| XYZ | xyz(18.7740, 9.5965, 51.3050) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.04
Blueviolet
#8A2BE2
ΔE00 5.19
Purple Blue
#5D21D0
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 5.98
Purple (survey)
#7E1E9C
ΔE00 6.02
Burple
#6832E3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D26C1 #6AC126
analogous
#2F26C1 #7D26C1 #C126B8
triadic
#7D26C1 #C17D26 #26C17D
tetradic
#7D26C1 #C12F26 #6AC126 #26B8C1
square
#7D26C1 #C12F26 #6AC126 #26B8C1
split-complementary
#7D26C1 #B8C126 #26C12F
monochromatic
#3B125B #5C1C8E #7D26C1 #9B49DB #B77CE5
Accessibility & contrast
On white
7.19
#7D26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#7D26C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D26C1
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D26C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D26C1 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#705075
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7d26c1; /* rgb */ color: rgb(125, 38, 193); /* oklch */ color: oklch(48.6% 0.221 304.4);
Tailwind
colors: {
custom: {
50: '#a96cd5',
500: '#7d26c1',
950: '#000000',
},
}SCSS
$custom: #7d26c1; $custom-light: #a96cd5; $custom-dark: #000000;
JSON
{
"hex": "#7d26c1",
"rgb": {
"r": 125,
"g": 38,
"b": 193
},
"hsl": {
"h": 273.677,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.48631,
"c": 0.22142,
"h": 304.4
},
"luminance": 0.09596
}Semantic roles & 50–950 ramp
primary
#7D26C1
secondary
#9CCD75
accent
#EA3E89
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83