#7D26CD#7D26CD
#7D26CD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.6% C 0.233 H 301.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7D26CD |
|---|---|
| RGB | rgb(125, 38, 205) |
| HSL | hsl(271, 69%, 48%) |
| HSV | hsv(271, 81%, 80%) |
| CMYK | cmyk(39%, 81.5%, 0%, 19.6%) |
| CIE-LAB | lab(38.12, 64.96, -69.42) |
| CIE-LCH | lch(38.12, 95.07, 313.10°) |
| OKLab | oklab(49.64% 0.1216 -0.1984) |
| OKLCH | oklch(49.64% 0.233 301.5) |
| XYZ | xyz(20.1673, 10.1539, 58.6432) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.71
Blueviolet
#8A2BE2
ΔE00 3.83
Burple
#6832E3
ΔE00 4.67
Purple Blue
#5D21D0
ΔE00 5.05
Purply Blue
#661AEE
ΔE00 5.17
Violet (survey)
#9A0EEA
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D26CD #76CD26
analogous
#2926CD #7D26CD #CD26CA
triadic
#7D26CD #CD7D26 #26CD7D
tetradic
#7D26CD #CD2926 #76CD26 #26CACD
square
#7D26CD #CD2926 #76CD26 #26CACD
split-complementary
#7D26CD #CACD26 #26CD29
monochromatic
#3E1366 #5E1C99 #7D26CD #9B51DF #B985E8
Accessibility & contrast
On white
6.93
#7D26CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7D26CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D26CD
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D26CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D26CD | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#6B567C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7d26cd; /* rgb */ color: rgb(125, 38, 205); /* oklch */ color: oklch(49.6% 0.233 301.5);
Tailwind
colors: {
custom: {
50: '#aa6cdd',
500: '#7d26cd',
950: '#000000',
},
}SCSS
$custom: #7d26cd; $custom-light: #aa6cdd; $custom-dark: #000000;
JSON
{
"hex": "#7d26cd",
"rgb": {
"r": 125,
"g": 38,
"b": 205
},
"hsl": {
"h": 271.257,
"s": 68.724,
"l": 47.647
},
"oklch": {
"l": 0.49642,
"c": 0.23269,
"h": 301.5
},
"luminance": 0.10154
}Semantic roles & 50–950 ramp
primary
#7D26CD
secondary
#A6D27D
accent
#EC3C90
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83