#6A4EE9#6A4EE9
#6A4EE9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.222 H 284.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4EE9 |
|---|---|
| RGB | rgb(106, 78, 233) |
| HSL | hsl(251, 78%, 61%) |
| HSV | hsv(251, 67%, 91%) |
| CMYK | cmyk(54.5%, 66.5%, 0%, 8.6%) |
| CIE-LAB | lab(44.79, 51.21, -74.61) |
| CIE-LCH | lch(44.79, 90.49, 304.46°) |
| OKLab | oklab(54.61% 0.0559 -0.2145) |
| OKLCH | oklch(54.61% 0.222 284.6) |
| XYZ | xyz(23.3718, 14.3948, 78.6219) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.38
Bluish Purple
#703BE7
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 4.78
Purpley
#8756E4
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4EE9 #CDE94E
analogous
#4E7FE9 #6A4EE9 #B74EE9
triadic
#6A4EE9 #E96A4E #4EE96A
tetradic
#6A4EE9 #E94E7F #CDE94E #4EE9B7
square
#6A4EE9 #E94E7F #CDE94E #4EE9B7
split-complementary
#6A4EE9 #E9B74E #7FE94E
monochromatic
#2F15A8 #3F1CDE #6A4EE9 #9884F0 #C6BBF7
Accessibility & contrast
On white
5.41
#6A4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#6A4EE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4EE9
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4EE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4EE9 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#307695
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a4ee9; /* rgb */ color: rgb(106, 78, 233); /* oklch */ color: oklch(54.6% 0.222 284.6);
Tailwind
colors: {
custom: {
50: '#a082f1',
500: '#6a4ee9',
950: '#000000',
},
}SCSS
$custom: #6a4ee9; $custom-light: #a082f1; $custom-dark: #000000;
JSON
{
"hex": "#6a4ee9",
"rgb": {
"r": 106,
"g": 78,
"b": 233
},
"hsl": {
"h": 250.839,
"s": 77.889,
"l": 60.98
},
"oklch": {
"l": 0.54608,
"c": 0.22167,
"h": 284.6
},
"luminance": 0.14396
}Semantic roles & 50–950 ramp
primary
#6A4EE9
secondary
#DCE7AC
accent
#DA0BB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85