#6945E2#6945E2
#6945E2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.224 H 286.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6945E2 |
|---|---|
| RGB | rgb(105, 69, 226) |
| HSL | hsl(254, 73%, 58%) |
| HSV | hsv(254, 69%, 89%) |
| CMYK | cmyk(53.5%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(42.38, 53.84, -74.59) |
| CIE-LCH | lch(42.38, 91.99, 305.82°) |
| OKLab | oklab(52.68% 0.0633 -0.2144) |
| OKLCH | oklch(52.68% 0.224 286.5) |
| XYZ | xyz(21.6772, 12.7493, 73.2554) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.95
Bluish Purple
#703BE7
ΔE00 2.18
Purpley Blue
#5F34E7
ΔE00 3.70
Burple
#6832E3
ΔE00 3.77
Bluey Purple
#6241C7
ΔE00 4.04
Blurple
#5539CC
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6945E2 #BEE245
analogous
#456FE2 #6945E2 #B745E2
triadic
#6945E2 #E26945 #45E269
tetradic
#6945E2 #E2456F #BEE245 #45E2B7
square
#6945E2 #E2456F #BEE245 #45E2B7
split-complementary
#6945E2 #E2B745 #6FE245
monochromatic
#341795 #4720CA #6945E2 #947AEA #BEAFF3
Accessibility & contrast
On white
5.92
#6945E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6945E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6945E2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6945E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6945E2 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#366E8F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6945e2; /* rgb */ color: rgb(105, 69, 226); /* oklch */ color: oklch(52.7% 0.224 286.5);
Tailwind
colors: {
custom: {
50: '#9f7cec',
500: '#6945e2',
950: '#000000',
},
}SCSS
$custom: #6945e2; $custom-light: #9f7cec; $custom-dark: #000000;
JSON
{
"hex": "#6945e2",
"rgb": {
"r": 105,
"g": 69,
"b": 226
},
"hsl": {
"h": 253.758,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.52681,
"c": 0.2236,
"h": 286.5
},
"luminance": 0.1275
}Semantic roles & 50–950 ramp
primary
#6945E2
secondary
#D2E1A2
accent
#F038C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84