#6A4FEA#6A4FEA
#6A4FEA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.222 H 284.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FEA |
|---|---|
| RGB | rgb(106, 79, 234) |
| HSL | hsl(250, 79%, 61%) |
| HSV | hsv(250, 66%, 92%) |
| CMYK | cmyk(54.7%, 66.2%, 0%, 8.2%) |
| CIE-LAB | lab(45.07, 50.95, -74.72) |
| CIE-LCH | lch(45.07, 90.44, 304.29°) |
| OKLab | oklab(54.84% 0.0549 -0.2148) |
| OKLCH | oklch(54.84% 0.222 284.3) |
| XYZ | xyz(23.5866, 14.5953, 79.4003) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 4.49
Bluish Purple
#703BE7
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.72
Purpley
#8756E4
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FEA #CFEA4F
analogous
#4F82EA #6A4FEA #B84FEA
triadic
#6A4FEA #EA6A4F #4FEA6A
tetradic
#6A4FEA #EA4F82 #CFEA4F #4FEAB8
square
#6A4FEA #EA4F82 #CFEA4F #4FEAB8
split-complementary
#6A4FEA #EAB84F #82EA4F
monochromatic
#2E14AA #3D1BE1 #6A4FEA #9886F1 #C7BCF7
Accessibility & contrast
On white
5.36
#6A4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#6A4FEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FEA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FEA | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#2E7796
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6a4fea; /* rgb */ color: rgb(106, 79, 234); /* oklch */ color: oklch(54.8% 0.222 284.3);
Tailwind
colors: {
custom: {
50: '#a082f2',
500: '#6a4fea',
950: '#000000',
},
}SCSS
$custom: #6a4fea; $custom-light: #a082f2; $custom-dark: #000000;
JSON
{
"hex": "#6a4fea",
"rgb": {
"r": 106,
"g": 79,
"b": 234
},
"hsl": {
"h": 250.452,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.54835,
"c": 0.22172,
"h": 284.3
},
"luminance": 0.14597
}Semantic roles & 50–950 ramp
primary
#6A4FEA
secondary
#DDE7AD
accent
#DB0BB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85