#6A4DEB#6A4DEB
#6A4DEB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.225 H 284.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4DEB |
|---|---|
| RGB | rgb(106, 77, 235) |
| HSL | hsl(251, 80%, 61%) |
| HSV | hsv(251, 67%, 92%) |
| CMYK | cmyk(54.9%, 67.2%, 0%, 7.8%) |
| CIE-LAB | lab(44.76, 52.33, -75.80) |
| CIE-LCH | lch(44.76, 92.11, 304.62°) |
| OKLab | oklab(54.63% 0.0565 -0.218) |
| OKLCH | oklch(54.63% 0.225 284.5) |
| XYZ | xyz(23.5886, 14.3687, 80.1116) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.17
Bluish Purple
#703BE7
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.41
Purpley Blue
#5F34E7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4DEB #CEEB4D
analogous
#4D7FEB #6A4DEB #B94DEB
triadic
#6A4DEB #EB6A4D #4DEB6A
tetradic
#6A4DEB #EB4D7F #CEEB4D #4DEBB9
square
#6A4DEB #EB4D7F #CEEB4D #4DEBB9
split-complementary
#6A4DEB #EBB94D #7FEB4D
monochromatic
#2F13AA #3E19E1 #6A4DEB #9884F1 #C6BBF7
Accessibility & contrast
On white
5.42
#6A4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6A4DEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4DEB
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4DEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4DEB | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#2D7696
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a4deb; /* rgb */ color: rgb(106, 77, 235); /* oklch */ color: oklch(54.6% 0.225 284.5);
Tailwind
colors: {
custom: {
50: '#a081f3',
500: '#6a4deb',
950: '#000000',
},
}SCSS
$custom: #6a4deb; $custom-light: #a081f3; $custom-dark: #000000;
JSON
{
"hex": "#6a4deb",
"rgb": {
"r": 106,
"g": 77,
"b": 235
},
"hsl": {
"h": 251.013,
"s": 79.798,
"l": 61.176
},
"oklch": {
"l": 0.54631,
"c": 0.22518,
"h": 284.5
},
"luminance": 0.1437
}Semantic roles & 50–950 ramp
primary
#6A4DEB
secondary
#DDE8AC
accent
#DC09B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85