#6745C6#6745C6
#6745C6 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.190 H 289.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #6745C6 |
|---|---|
| RGB | rgb(103, 69, 198) |
| HSL | hsl(256, 53%, 52%) |
| HSV | hsv(256, 65%, 78%) |
| CMYK | cmyk(48%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.94, 45.53, -62.48) |
| CIE-LCH | lch(39.94, 77.31, 306.08°) |
| OKLab | oklab(50.19% 0.0648 -0.1789) |
| OKLCH | oklch(50.19% 0.19 289.9) |
| XYZ | xyz(17.9118, 11.2163, 54.6363) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.28
Blue With A Hint Of Purple
#533CC6
ΔE00 3.75
Blurple
#5539CC
ΔE00 3.94
Ocean Blue
#4F42B5
ΔE00 4.61
Bluish Purple
#703BE7
ΔE00 4.69
Burple
#6832E3
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6745C6 #A4C645
analogous
#4564C6 #6745C6 #A745C6
triadic
#6745C6 #C66745 #45C667
tetradic
#6745C6 #C64564 #A4C645 #45C6A7
square
#6745C6 #C64564 #A4C645 #45C6A7
split-complementary
#6745C6 #C6A745 #64C645
monochromatic
#36226F #4D309E #6745C6 #8D74D4 #B4A3E3
Accessibility & contrast
On white
6.47
#6745C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#6745C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6745C6
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6745C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6745C6 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#48647F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6745c6; /* rgb */ color: rgb(103, 69, 198); /* oklch */ color: oklch(50.2% 0.190 289.9);
Tailwind
colors: {
custom: {
50: '#9a7bd8',
500: '#6745c6',
950: '#000000',
},
}SCSS
$custom: #6745c6; $custom-light: #9a7bd8; $custom-dark: #000000;
JSON
{
"hex": "#6745c6",
"rgb": {
"r": 103,
"g": 69,
"b": 198
},
"hsl": {
"h": 255.814,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.50186,
"c": 0.19031,
"h": 289.9
},
"luminance": 0.11217
}Semantic roles & 50–950 ramp
primary
#6745C6
secondary
#C1CF97
accent
#DC4BB6
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0915
muted
#7F7B83