#6A46CC#6A46CC
#6A46CC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.196 H 290.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6A46CC |
|---|---|
| RGB | rgb(106, 70, 204) |
| HSL | hsl(256, 57%, 54%) |
| HSV | hsv(256, 66%, 80%) |
| CMYK | cmyk(48%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(40.90, 47.24, -64.38) |
| CIE-LCH | lch(40.90, 79.85, 306.27°) |
| OKLab | oklab(51.09% 0.0672 -0.1844) |
| OKLCH | oklch(51.09% 0.196 290) |
| XYZ | xyz(19.0300, 11.8034, 58.3906) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.94
Bluish Purple
#703BE7
ΔE00 3.94
Blue With A Hint Of Purple
#533CC6
ΔE00 4.38
Blurple
#5539CC
ΔE00 4.40
Purpleish Blue
#6140EF
ΔE00 4.58
Burple
#6832E3
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A46CC #A8CC46
analogous
#4665CC #6A46CC #AD46CC
triadic
#6A46CC #CC6A46 #46CC6A
tetradic
#6A46CC #CC4665 #A8CC46 #46CCAD
square
#6A46CC #CC4665 #A8CC46 #46CCAD
split-complementary
#6A46CC #CCAD46 #65CC46
monochromatic
#382177 #4E2EA7 #6A46CC #9176D9 #B7A6E6
Accessibility & contrast
On white
6.25
#6A46CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#6A46CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A46CC
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A46CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A46CC | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#4A6783
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6a46cc; /* rgb */ color: rgb(106, 70, 204); /* oklch */ color: oklch(51.1% 0.196 290.0);
Tailwind
colors: {
custom: {
50: '#9d7cdc',
500: '#6a46cc',
950: '#000000',
},
}SCSS
$custom: #6a46cc; $custom-light: #9d7cdc; $custom-dark: #000000;
JSON
{
"hex": "#6a46cc",
"rgb": {
"r": 106,
"g": 70,
"b": 204
},
"hsl": {
"h": 256.119,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.51093,
"c": 0.1963,
"h": 290
},
"luminance": 0.11804
}Semantic roles & 50–950 ramp
primary
#6A46CC
secondary
#C4D49A
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83