#6345C2#6345C2
#6345C2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.185 H 288.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6345C2 |
|---|---|
| RGB | rgb(99, 69, 194) |
| HSL | hsl(254, 51%, 52%) |
| HSV | hsv(254, 64%, 76%) |
| CMYK | cmyk(49%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(39.25, 43.63, -61.29) |
| CIE-LCH | lch(39.25, 75.23, 305.44°) |
| OKLab | oklab(49.5% 0.0598 -0.1756) |
| OKLCH | oklch(49.5% 0.185 288.8) |
| XYZ | xyz(17.0085, 10.8032, 52.2175) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.20
Blue With A Hint Of Purple
#533CC6
ΔE00 3.28
Blurple
#5539CC
ΔE00 3.68
Ocean Blue
#4F42B5
ΔE00 3.78
Burple
#6832E3
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6345C2 #A4C245
analogous
#4566C2 #6345C2 #A245C2
triadic
#6345C2 #C26345 #45C263
tetradic
#6345C2 #C24566 #A4C245 #45C2A2
square
#6345C2 #C24566 #A4C245 #45C2A2
split-complementary
#6345C2 #C2A245 #66C245
monochromatic
#34236A #4A3298 #6345C2 #8A73D1 #B0A1E0
Accessibility & contrast
On white
6.64
#6345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#6345C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6345C2
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6345C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6345C2 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#43637D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6345c2; /* rgb */ color: rgb(99, 69, 194); /* oklch */ color: oklch(49.5% 0.185 288.8);
Tailwind
colors: {
custom: {
50: '#977ad5',
500: '#6345c2',
950: '#000000',
},
}SCSS
$custom: #6345c2; $custom-light: #977ad5; $custom-dark: #000000;
JSON
{
"hex": "#6345c2",
"rgb": {
"r": 99,
"g": 69,
"b": 194
},
"hsl": {
"h": 254.4,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.49495,
"c": 0.18549,
"h": 288.8
},
"luminance": 0.10804
}Semantic roles & 50–950 ramp
primary
#6345C2
secondary
#C0CD96
accent
#DA4EB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83