#6348C2#6348C2
#6348C2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.182 H 288.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6348C2 |
|---|---|
| RGB | rgb(99, 72, 194) |
| HSL | hsl(253, 50%, 52%) |
| HSV | hsv(253, 63%, 76%) |
| CMYK | cmyk(49%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(39.88, 41.92, -60.26) |
| CIE-LCH | lch(39.88, 73.40, 304.82°) |
| OKLab | oklab(49.96% 0.0567 -0.1725) |
| OKLCH | oklch(49.96% 0.182 288.2) |
| XYZ | xyz(17.1977, 11.1817, 52.2806) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.89
Blue With A Hint Of Purple
#533CC6
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 3.96
Blurple
#5539CC
ΔE00 4.29
Iris
#6258C4
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6348C2 #A7C248
analogous
#486AC2 #6348C2 #A048C2
triadic
#6348C2 #C26348 #48C263
tetradic
#6348C2 #C2486A #A7C248 #48C2A0
square
#6348C2 #C2486A #A7C248 #48C2A0
split-complementary
#6348C2 #C2A048 #6AC248
monochromatic
#34246C #4A339A #6348C2 #8A76D1 #B1A4E1
Accessibility & contrast
On white
6.49
#6348C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#6348C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6348C2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6348C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6348C2 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#42657E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6348c2; /* rgb */ color: rgb(99, 72, 194); /* oklch */ color: oklch(50.0% 0.182 288.2);
Tailwind
colors: {
custom: {
50: '#977cd5',
500: '#6348c2',
950: '#000000',
},
}SCSS
$custom: #6348c2; $custom-light: #977cd5; $custom-dark: #000000;
JSON
{
"hex": "#6348c2",
"rgb": {
"r": 99,
"g": 72,
"b": 194
},
"hsl": {
"h": 253.279,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.49957,
"c": 0.18162,
"h": 288.2
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#6348C2
secondary
#C2CE98
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83