#6A3EFC#6A3EFC
#6A3EFC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.260 H 284.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6A3EFC |
|---|---|
| RGB | rgb(106, 62, 252) |
| HSL | hsl(254, 97%, 62%) |
| HSV | hsv(254, 75%, 99%) |
| CMYK | cmyk(57.9%, 75.4%, 0%, 1.2%) |
| CIE-LAB | lab(43.56, 64.62, -87.31) |
| CIE-LCH | lch(43.56, 108.63, 306.51°) |
| OKLab | oklab(54.23% 0.064 -0.2516) |
| OKLCH | oklch(54.23% 0.26 284.3) |
| XYZ | xyz(25.2318, 13.5361, 93.3597) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.06
Bluish Purple
#703BE7
ΔE00 2.81
Purpley Blue
#5F34E7
ΔE00 4.20
Burple
#6832E3
ΔE00 4.41
Purplish Blue
#601EF9
ΔE00 5.25
Light Royal Blue
#3A2EFE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A3EFC #D0FC3E
analogous
#3E71FC #6A3EFC #C93EFC
triadic
#6A3EFC #FC6A3E #3EFC6A
tetradic
#6A3EFC #FC3E71 #D0FC3E #3EFCC9
square
#6A3EFC #FC3E71 #D0FC3E #3EFCC9
split-complementary
#6A3EFC #FCC93E #71FC3E
monochromatic
#2E03BD #3D04F9 #6A3EFC #997AFD #C7B7FE
Accessibility & contrast
On white
5.66
#6A3EFC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6A3EFC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A3EFC
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A3EFC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A3EFC | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0061F9
Tritanopia (blue-blind)
#0B759B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6a3efc; /* rgb */ color: rgb(106, 62, 252); /* oklch */ color: oklch(54.2% 0.260 284.3);
Tailwind
colors: {
custom: {
50: '#a479ff',
500: '#6a3efc',
950: '#000000',
},
}SCSS
$custom: #6a3efc; $custom-light: #a479ff; $custom-dark: #000000;
JSON
{
"hex": "#6a3efc",
"rgb": {
"r": 106,
"g": 62,
"b": 252
},
"hsl": {
"h": 253.895,
"s": 96.939,
"l": 61.569
},
"oklch": {
"l": 0.54234,
"c": 0.25963,
"h": 284.3
},
"luminance": 0.13538
}Semantic roles & 50–950 ramp
primary
#6A3EFC
secondary
#DEEEA8
accent
#E600B0
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86