#6A26C7#6A26C7
#6A26C7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.225 H 295.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6A26C7 |
|---|---|
| RGB | rgb(106, 38, 199) |
| HSL | hsl(265, 68%, 46%) |
| HSV | hsv(265, 81%, 78%) |
| CMYK | cmyk(46.7%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(35.15, 60.93, -70.88) |
| CIE-LCH | lch(35.15, 93.47, 310.68°) |
| OKLab | oklab(46.9% 0.0954 -0.2033) |
| OKLCH | oklch(46.9% 0.225 295.1) |
| XYZ | xyz(16.9430, 8.5734, 54.7839) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.30
Burple
#6832E3
ΔE00 4.51
Blue Violet
#5D06E9
ΔE00 4.59
Blurple
#5539CC
ΔE00 4.62
Purply Blue
#661AEE
ΔE00 4.65
Violet Blue
#510AC9
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A26C7 #83C726
analogous
#2632C7 #6A26C7 #BB26C7
triadic
#6A26C7 #C76A26 #26C76A
tetradic
#6A26C7 #C72632 #83C726 #26C7BB
square
#6A26C7 #C72632 #83C726 #26C7BB
split-complementary
#6A26C7 #C7BB26 #32C726
monochromatic
#331260 #4F1C94 #6A26C7 #8A4DDD #AC81E7
Accessibility & contrast
On white
7.74
#6A26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#6A26C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A26C7
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A26C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A26C7 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#4F5578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #6a26c7; /* rgb */ color: rgb(106, 38, 199); /* oklch */ color: oklch(46.9% 0.225 295.1);
Tailwind
colors: {
custom: {
50: '#9e6ad9',
500: '#6a26c7',
950: '#000000',
},
}SCSS
$custom: #6a26c7; $custom-light: #9e6ad9; $custom-dark: #000000;
JSON
{
"hex": "#6a26c7",
"rgb": {
"r": 106,
"g": 38,
"b": 199
},
"hsl": {
"h": 265.342,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.46897,
"c": 0.22462,
"h": 295.1
},
"luminance": 0.08574
}Semantic roles & 50–950 ramp
primary
#6A26C7
secondary
#ABCF79
accent
#EB3DA1
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83