#6846C2#6846C2
#6846C2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.184 H 290.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #6846C2 |
|---|---|
| RGB | rgb(104, 70, 194) |
| HSL | hsl(256, 50%, 52%) |
| HSV | hsv(256, 64%, 76%) |
| CMYK | cmyk(46.4%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(39.94, 44.03, -60.14) |
| CIE-LCH | lch(39.94, 74.53, 306.21°) |
| OKLab | oklab(50.12% 0.0656 -0.172) |
| OKLCH | oklch(50.12% 0.184 290.9) |
| XYZ | xyz(17.6339, 11.2178, 52.2646) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.73
Blue With A Hint Of Purple
#533CC6
ΔE00 4.10
Blurple
#5539CC
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.58
Bluish Purple
#703BE7
ΔE00 5.24
Iris
#6258C4
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6846C2 #A0C246
analogous
#4662C2 #6846C2 #A646C2
triadic
#6846C2 #C26846 #46C268
tetradic
#6846C2 #C24662 #A0C246 #46C2A6
square
#6846C2 #C24662 #A0C246 #46C2A6
split-complementary
#6846C2 #C2A646 #62C246
monochromatic
#37236A #4E3299 #6846C2 #8E74D1 #B3A2E0
Accessibility & contrast
On white
6.47
#6846C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#6846C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6846C2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6846C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6846C2 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#4C637E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6846c2; /* rgb */ color: rgb(104, 70, 194); /* oklch */ color: oklch(50.1% 0.184 290.9);
Tailwind
colors: {
custom: {
50: '#9a7bd5',
500: '#6846c2',
950: '#000000',
},
}SCSS
$custom: #6846c2; $custom-light: #9a7bd5; $custom-dark: #000000;
JSON
{
"hex": "#6846c2",
"rgb": {
"r": 104,
"g": 70,
"b": 194
},
"hsl": {
"h": 256.452,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.50116,
"c": 0.1841,
"h": 290.9
},
"luminance": 0.11218
}Semantic roles & 50–950 ramp
primary
#6846C2
secondary
#BECD97
accent
#DA4EB4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83