#6B46E9#6B46E9
#6B46E9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.230 H 286.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6B46E9 |
|---|---|
| RGB | rgb(107, 70, 233) |
| HSL | hsl(254, 79%, 59%) |
| HSV | hsv(254, 70%, 91%) |
| CMYK | cmyk(54.1%, 70%, 0%, 8.6%) |
| CIE-LAB | lab(43.34, 55.60, -76.98) |
| CIE-LCH | lch(43.34, 94.96, 305.84°) |
| OKLab | oklab(53.59% 0.064 -0.2214) |
| OKLCH | oklch(53.59% 0.23 286.1) |
| XYZ | xyz(22.9571, 13.3881, 78.4495) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.88
Bluish Purple
#703BE7
ΔE00 2.39
Purpley Blue
#5F34E7
ΔE00 4.22
Burple
#6832E3
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B46E9 #C4E946
analogous
#4672E9 #6B46E9 #BD46E9
triadic
#6B46E9 #E96B46 #46E96B
tetradic
#6B46E9 #E94672 #C4E946 #46E9BD
square
#6B46E9 #E94672 #C4E946 #46E9BD
split-complementary
#6B46E9 #E9BD46 #72E946
monochromatic
#3313A1 #451AD8 #6B46E9 #977DF0 #C3B3F6
Accessibility & contrast
On white
5.71
#6B46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6B46E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B46E9
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B46E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B46E9 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#347193
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6b46e9; /* rgb */ color: rgb(107, 70, 233); /* oklch */ color: oklch(53.6% 0.230 286.1);
Tailwind
colors: {
custom: {
50: '#a17df1',
500: '#6b46e9',
950: '#000000',
},
}SCSS
$custom: #6b46e9; $custom-light: #a17df1; $custom-dark: #000000;
JSON
{
"hex": "#6b46e9",
"rgb": {
"r": 107,
"g": 70,
"b": 233
},
"hsl": {
"h": 253.62,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.5359,
"c": 0.23045,
"h": 286.1
},
"luminance": 0.13389
}Semantic roles & 50–950 ramp
primary
#6B46E9
secondary
#D7E5A6
accent
#F533C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85