#6945C2#6945C2
#6945C2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.185 H 291.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6945C2 |
|---|---|
| RGB | rgb(105, 69, 194) |
| HSL | hsl(257, 51%, 52%) |
| HSV | hsv(257, 64%, 76%) |
| CMYK | cmyk(45.9%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(39.84, 44.78, -60.31) |
| CIE-LCH | lch(39.84, 75.12, 306.60°) |
| OKLab | oklab(50.06% 0.068 -0.1725) |
| OKLCH | oklch(50.06% 0.185 291.5) |
| XYZ | xyz(17.6887, 11.1539, 52.2494) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.69
Blue With A Hint Of Purple
#533CC6
ΔE00 4.10
Blurple
#5539CC
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.71
Bluish Purple
#703BE7
ΔE00 5.13
Burple
#6832E3
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6945C2 #9EC245
analogous
#4560C2 #6945C2 #A845C2
triadic
#6945C2 #C26945 #45C269
tetradic
#6945C2 #C24560 #9EC245 #45C2A8
square
#6945C2 #C24560 #9EC245 #45C2A8
split-complementary
#6945C2 #C2A845 #60C245
monochromatic
#37236A #4F3298 #6945C2 #8E73D1 #B3A1E0
Accessibility & contrast
On white
6.50
#6945C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#6945C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6945C2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6945C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6945C2 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#4E637D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6945c2; /* rgb */ color: rgb(105, 69, 194); /* oklch */ color: oklch(50.1% 0.185 291.5);
Tailwind
colors: {
custom: {
50: '#9b7bd5',
500: '#6945c2',
950: '#000000',
},
}SCSS
$custom: #6945c2; $custom-light: #9b7bd5; $custom-dark: #000000;
JSON
{
"hex": "#6945c2",
"rgb": {
"r": 105,
"g": 69,
"b": 194
},
"hsl": {
"h": 257.28,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.50063,
"c": 0.18542,
"h": 291.5
},
"luminance": 0.11155
}Semantic roles & 50–950 ramp
primary
#6945C2
secondary
#BDCD96
accent
#DA4EB2
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83