#6A3FD6#6A3FD6
#6A3FD6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.216 H 289.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3FD6 |
|---|---|
| RGB | rgb(106, 63, 214) |
| HSL | hsl(257, 65%, 54%) |
| HSV | hsv(257, 71%, 84%) |
| CMYK | cmyk(50.5%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(40.37, 53.72, -71.02) |
| CIE-LCH | lch(40.37, 89.05, 307.10°) |
| OKLab | oklab(50.96% 0.0721 -0.2039) |
| OKLCH | oklch(50.96% 0.216 289.5) |
| XYZ | xyz(19.8555, 11.4734, 64.7737) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.33
Bluey Purple
#6241C7
ΔE00 2.36
Burple
#6832E3
ΔE00 2.66
Purpley Blue
#5F34E7
ΔE00 3.06
Purpleish Blue
#6140EF
ΔE00 3.35
Blurple
#5539CC
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3FD6 #ABD63F
analogous
#3F60D6 #6A3FD6 #B63FD6
triadic
#6A3FD6 #D66A3F #3FD66A
tetradic
#6A3FD6 #D63F60 #ABD63F #3FD6B6
square
#6A3FD6 #D63F60 #ABD63F #3FD6B6
split-complementary
#6A3FD6 #D6B63F #60D63F
monochromatic
#381B7F #4E26B2 #6A3FD6 #9171E1 #B8A4EC
Accessibility & contrast
On white
6.37
#6A3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#6A3FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3FD6
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3FD6 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#436686
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6a3fd6; /* rgb */ color: rgb(106, 63, 214); /* oklch */ color: oklch(51.0% 0.216 289.5);
Tailwind
colors: {
custom: {
50: '#9e78e4',
500: '#6a3fd6',
950: '#000000',
},
}SCSS
$custom: #6a3fd6; $custom-light: #9e78e4; $custom-dark: #000000;
JSON
{
"hex": "#6a3fd6",
"rgb": {
"r": 106,
"g": 63,
"b": 214
},
"hsl": {
"h": 257.086,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.50959,
"c": 0.21629,
"h": 289.5
},
"luminance": 0.11474
}Semantic roles & 50–950 ramp
primary
#6A3FD6
secondary
#C6D898
accent
#E840B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84