#6346E2#6346E2
#6346E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.223 H 284.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6346E2 |
|---|---|
| RGB | rgb(99, 70, 226) |
| HSL | hsl(251, 73%, 58%) |
| HSV | hsv(251, 69%, 89%) |
| CMYK | cmyk(56.2%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(42.04, 52.40, -75.18) |
| CIE-LCH | lch(42.04, 91.64, 304.88°) |
| OKLab | oklab(52.3% 0.0543 -0.2164) |
| OKLCH | oklch(52.3% 0.223 284.1) |
| XYZ | xyz(21.0590, 12.5227, 73.2442) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.82
Bluish Purple
#703BE7
ΔE00 2.83
Purpley Blue
#5F34E7
ΔE00 3.69
Bluey Purple
#6241C7
ΔE00 3.97
Burple
#6832E3
ΔE00 4.02
Blurple
#5539CC
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6346E2 #C5E246
analogous
#4677E2 #6346E2 #B146E2
triadic
#6346E2 #E26346 #46E263
tetradic
#6346E2 #E24677 #C5E246 #46E2B1
square
#6346E2 #E24677 #C5E246 #46E2B1
split-complementary
#6346E2 #E2B146 #77E246
monochromatic
#2F1896 #4020CB #6346E2 #907BEA #BCB0F3
Accessibility & contrast
On white
5.99
#6346E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6346E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6346E2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6346E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6346E2 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#226F8F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6346e2; /* rgb */ color: rgb(99, 70, 226); /* oklch */ color: oklch(52.3% 0.223 284.1);
Tailwind
colors: {
custom: {
50: '#9c7cec',
500: '#6346e2',
950: '#000000',
},
}SCSS
$custom: #6346e2; $custom-light: #9c7cec; $custom-dark: #000000;
JSON
{
"hex": "#6346e2",
"rgb": {
"r": 99,
"g": 70,
"b": 226
},
"hsl": {
"h": 251.154,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.52302,
"c": 0.22308,
"h": 284.1
},
"luminance": 0.12524
}Semantic roles & 50–950 ramp
primary
#6346E2
secondary
#D5E1A3
accent
#F038CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84